public static function LayoutBuilderLocalTaskDeriver::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Plugin/Derivative/LayoutBuilderLocalTaskDeriver.php \Drupal\layout_builder\Plugin\Derivative\LayoutBuilderLocalTaskDeriver::create()
- 9 core/modules/layout_builder/src/Plugin/Derivative/LayoutBuilderLocalTaskDeriver.php \Drupal\layout_builder\Plugin\Derivative\LayoutBuilderLocalTaskDeriver::create()
File
- core/
modules/ layout_builder/ src/ Plugin/ Derivative/ LayoutBuilderLocalTaskDeriver.php, line 55
Class
- LayoutBuilderLocalTaskDeriver
- Provides local task definitions for the layout builder user interface.
Namespace
Drupal\layout_builder\Plugin\DerivativeCode
public static function create(ContainerInterface $container, $base_plugin_id) {
return new static($container
->get('entity_type.manager'), $container
->get('plugin.manager.layout_builder.section_storage'));
}