You are here

public static function LayoutBuilderIntegration::create in Drupal 10

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'));
}