SU-SWS/stanford_fields

View on GitHub
src/Plugin/Field/FieldFormatter/EntityTitleHeading.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Showing 5 of 5 total issues

syntax error, unexpected ','
Open

id: 'entity_title_heading',

Perl-style comments are not allowed; use "// Comment" instead
Open

#[FieldFormatter(

Unused use statement
Open

use Drupal\Core\Field\Attribute\FieldFormatter;

Missing class doc comment
Open

class EntityTitleHeading extends FormatterBase implements ContainerFactoryPluginInterface {

Line indented incorrectly; expected 0 spaces, found 2
Open

id: 'entity_title_heading',
Category
Status