function LayoutForm::create

Same name in other branches
  1. 10 core/modules/navigation/src/Form/LayoutForm.php \Drupal\navigation\Form\LayoutForm::create()

Overrides FormBase::create

File

core/modules/navigation/src/Form/LayoutForm.php, line 57

Class

LayoutForm
Defines a form for configuring navigation blocks.

Namespace

Drupal\navigation\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('layout_builder.tempstore_repository'));
}

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