public function SingleTextFieldTest::getFieldName in Extra Field 8.2
Same name and namespace in other branches
- 8 tests/extra_field_test/src/Plugin/ExtraField/Display/SingleTextFieldTest.php \Drupal\extra_field_test\Plugin\ExtraField\Display\SingleTextFieldTest::getFieldName()
The machine name of the field.
Used in the 'field--name-...' wrapper class.
Return value
string The field name.
Overrides ExtraFieldDisplayFormattedBase::getFieldName
File
- tests/
extra_field_test/ src/ Plugin/ ExtraField/ Display/ SingleTextFieldTest.php, line 55
Class
- SingleTextFieldTest
- Extra field Display for a field with single item output.
Namespace
Drupal\extra_field_test\Plugin\ExtraField\DisplayCode
public function getFieldName() {
return 'field_single_text';
}