Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Block/BlockManager.php \Drupal\Core\Block\BlockManager::getType()
- 9 core/lib/Drupal/Core/Block/BlockManager.php \Drupal\Core\Block\BlockManager::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 BlockManager::getType()
- BlockManager::__construct in core/
lib/ Drupal/ Core/ Block/ BlockManager.php - Constructs a new \Drupal\Core\Block\BlockManager object.
File
- core/
lib/ Drupal/ Core/ Block/ BlockManager.php, line 59
Class
- BlockManager
- Manages discovery and instantiation of block plugins.
Namespace
Drupal\Core\BlockCode
protected function getType() {
return 'block';
}