function BlockManager::getType
Same name in other branches
- 9 core/lib/Drupal/Core/Block/BlockManager.php \Drupal\Core\Block\BlockManager::getType()
- 8.9.x core/lib/Drupal/Core/Block/BlockManager.php \Drupal\Core\Block\BlockManager::getType()
- 10 core/lib/Drupal/Core/Block/BlockManager.php \Drupal\Core\Block\BlockManager::getType()
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';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.