function LayoutPluginManager::getType
A string identifying the plugin type.
This string should be unique and generally will correspond to the string used by the discovery, e.g. the annotation class or the YAML file name.
Return value
string A string identifying the plugin type.
Overrides FilteredPluginManagerTrait::getType
2 calls to LayoutPluginManager::getType()
- LayoutPluginManager::getLayoutOptions in core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php - Returns an array of layout labels grouped by category.
- LayoutPluginManager::__construct in core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php - LayoutPluginManager constructor.
File
-
core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php, line 58
Class
- LayoutPluginManager
- Provides a plugin manager for layouts.
Namespace
Drupal\Core\LayoutCode
protected function getType() {
return 'layout';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.