You are here

public function ExtraFieldDisplayFormattedInterface::getLabel in Extra Field 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/ExtraFieldDisplayFormattedInterface.php \Drupal\extra_field\Plugin\ExtraFieldDisplayFormattedInterface::getLabel()

The label of the field.

If applicable, the code has to take care of the translatability.

Return value

string|\Drupal\Core\StringTranslation\TranslatableMarkup The field label.

1 method overrides ExtraFieldDisplayFormattedInterface::getLabel()
ExtraFieldDisplayFormattedBase::getLabel in src/Plugin/ExtraFieldDisplayFormattedBase.php
The label of the field.

File

src/Plugin/ExtraFieldDisplayFormattedInterface.php, line 33

Class

ExtraFieldDisplayFormattedInterface
Defines an interface for Extra Field Display plugins.

Namespace

Drupal\extra_field\Plugin

Code

public function getLabel();