You are here

public function ExtraFieldTypePluginBase::label in Entity Extra Field 2.0.x

Same name and namespace in other branches
  1. 8 src/ExtraFieldTypePluginBase.php \Drupal\entity_extra_field\ExtraFieldTypePluginBase::label()

Display the extra field plugin label.

Return value

string Return the extra field plugin label.

Overrides ExtraFieldTypePluginInterface::label

File

src/ExtraFieldTypePluginBase.php, line 113

Class

ExtraFieldTypePluginBase
Define extra field type plugin base.

Namespace

Drupal\entity_extra_field

Code

public function label() : string {
  return $this->pluginDefinition['label'];
}