You are here

public function FlexiformFormEntityBase::getLabel in Flexiform 8

Get the label for this plugin.

Overrides FlexiformFormEntityInterface::getLabel

File

src/FormEntity/FlexiformFormEntityBase.php, line 79

Class

FlexiformFormEntityBase
Provides the base form entity plugin.

Namespace

Drupal\flexiform\FormEntity

Code

public function getLabel() {
  return !empty($this->configuration['label']) ? $this->configuration['label'] : $this->pluginDefinition['label'];
}