function LayoutBuilderOverridesPermissions::create
Same name in other branches
- 9 core/modules/layout_builder/src/LayoutBuilderOverridesPermissions.php \Drupal\layout_builder\LayoutBuilderOverridesPermissions::create()
- 8.9.x core/modules/layout_builder/src/LayoutBuilderOverridesPermissions.php \Drupal\layout_builder\LayoutBuilderOverridesPermissions::create()
- 11.x core/modules/layout_builder/src/LayoutBuilderOverridesPermissions.php \Drupal\layout_builder\LayoutBuilderOverridesPermissions::create()
Overrides ContainerInjectionInterface::create
File
-
core/
modules/ layout_builder/ src/ LayoutBuilderOverridesPermissions.php, line 53
Class
- LayoutBuilderOverridesPermissions
- Provides dynamic permissions for Layout Builder overrides.
Namespace
Drupal\layout_builderCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity_type.manager'), $container->get('entity_type.bundle.info'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.