public function PluginType::getLabel in Plugin 8.2
Gets the human-readable label.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup|string
Overrides PluginTypeInterface::getLabel
File
- src/
PluginType/ PluginType.php, line 177
Class
- PluginType
- Provides a plugin type.
Namespace
Drupal\plugin\PluginTypeCode
public function getLabel() {
return $this->label;
}