public function TourTipPluginDefinitionDecorator::getLabel in Plugin 8.2
Gets the human-readable plugin label.
Return value
\Drupal\Core\StringTranslation\TranslatableString|string|null The label or NULL if there is none.
Overrides ArrayPluginDefinitionDecorator::getLabel
File
- src/
PluginDefinition/ TourTipPluginDefinitionDecorator.php, line 24
Class
- TourTipPluginDefinitionDecorator
- Provides a tour tip plugin definition decorator.
Namespace
Drupal\plugin\PluginDefinitionCode
public function getLabel() {
return isset($this->arrayDefinition['title']) ? $this->arrayDefinition['title'] : NULL;
}