function LayoutBuilderIntegration::create

Overrides ContainerInjectionInterface::create

File

core/modules/quickedit/src/LayoutBuilderIntegration.php, line 71

Class

LayoutBuilderIntegration
Helper methods for Layout Builder module integration.

Namespace

Drupal\quickedit

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('plugin.manager.layout_builder.section_storage'), $container->get('current_user'), $container->get('entity_type.manager'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.