function BookOutlineForm::create

Same name in other branches
  1. 8.9.x core/modules/book/src/Form/BookOutlineForm.php \Drupal\book\Form\BookOutlineForm::create()
  2. 10 core/modules/book/src/Form/BookOutlineForm.php \Drupal\book\Form\BookOutlineForm::create()
  3. 11.x core/modules/book/src/Form/BookOutlineForm.php \Drupal\book\Form\BookOutlineForm::create()

Overrides ContentEntityForm::create

File

core/modules/book/src/Form/BookOutlineForm.php, line 55

Class

BookOutlineForm
Displays the book outline form.

Namespace

Drupal\book\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('entity.repository'), $container->get('book.manager'), $container->get('entity_type.bundle.info'), $container->get('datetime.time'));
}

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