function LayoutPluginManager::getType
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Layout/LayoutPluginManager.php \Drupal\Core\Layout\LayoutPluginManager::getType()
- 10 core/lib/Drupal/Core/Layout/LayoutPluginManager.php \Drupal\Core\Layout\LayoutPluginManager::getType()
- 8.9.x core/lib/Drupal/Core/Layout/LayoutPluginManager.php \Drupal\Core\Layout\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
1 call to LayoutPluginManager::getType()
- LayoutPluginManager::__construct in core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php - LayoutPluginManager constructor.
File
-
core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php, line 57
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.