function Broken::create
Same name in other branches
- 9 core/lib/Drupal/Core/Block/Plugin/Block/Broken.php \Drupal\Core\Block\Plugin\Block\Broken::create()
- 10 core/lib/Drupal/Core/Block/Plugin/Block/Broken.php \Drupal\Core\Block\Plugin\Block\Broken::create()
Overrides ContainerFactoryPluginInterface::create
File
-
core/
lib/ Drupal/ Core/ Block/ Plugin/ Block/ Broken.php, line 56
Class
- Broken
- Defines a fallback plugin for missing block plugins.
Namespace
Drupal\Core\Block\Plugin\BlockCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('current_user'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.