You are here

public function EntityExtraField::getFieldTypeLabel in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/EntityExtraField.php \Drupal\entity_extra_field\Entity\EntityExtraField::getFieldTypeLabel()

Get field type plugin label.

Return value

string The field type plugin label.

Overrides EntityExtraFieldInterface::getFieldTypeLabel

File

src/Entity/EntityExtraField.php, line 157

Class

EntityExtraField
Define entity extra field.

Namespace

Drupal\entity_extra_field\Entity

Code

public function getFieldTypeLabel() {
  return $this
    ->getFieldTypePlugin()
    ->label();
}