public function EntityExtraField::getDisplayType in Entity Extra Field 8
Same name and namespace in other branches
- 2.0.x src/Entity/EntityExtraField.php \Drupal\entity_extra_field\Entity\EntityExtraField::getDisplayType()
Get extra field display type.
Return value
string Get the display type.
Overrides EntityExtraFieldInterface::getDisplayType
File
- src/
Entity/ EntityExtraField.php, line 146
Class
- EntityExtraField
- Define entity extra field.
Namespace
Drupal\entity_extra_field\EntityCode
public function getDisplayType() {
$display = $this
->getDisplay();
return isset($display['type']) ? $display['type'] : NULL;
}