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