public static function SystemBrandingBlock::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/Plugin/Block/SystemBrandingBlock.php \Drupal\system\Plugin\Block\SystemBrandingBlock::create()
- 9 core/modules/system/src/Plugin/Block/SystemBrandingBlock.php \Drupal\system\Plugin\Block\SystemBrandingBlock::create()
File
- core/
modules/ system/ src/ Plugin/ Block/ SystemBrandingBlock.php, line 53
Class
- SystemBrandingBlock
- Provides a block to display 'Site branding' elements.
Namespace
Drupal\system\Plugin\BlockCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('config.factory'));
}