public function PluginCategoryDefinitionInterface::getCategory in Plugin 8.2
Gets the category.
Return value
\Drupal\Core\StringTranslation\TranslatableString|string|null The category.
1 method overrides PluginCategoryDefinitionInterface::getCategory()
- ArrayPluginDefinitionDecorator::getCategory in src/
PluginDefinition/ ArrayPluginDefinitionDecorator.php - Gets the category.
File
- src/
PluginDefinition/ PluginCategoryDefinitionInterface.php, line 29
Class
- PluginCategoryDefinitionInterface
- Defines a plugin definition that includes a category.
Namespace
Drupal\plugin\PluginDefinitionCode
public function getCategory();