function BookManager::addFormElements

Same name in this branch
  1. 10 core/modules/book/src/BookManager.php \Drupal\book\BookManager::addFormElements()
Same name in other branches
  1. 9 core/modules/book/src/BookManager.php \Drupal\book\BookManager::addFormElements()
  2. 8.9.x core/modules/book/src/BookManager.php \Drupal\book\BookManager::addFormElements()
  3. 11.x core/modules/book/src/ProxyClass/BookManager.php \Drupal\book\ProxyClass\BookManager::addFormElements()
  4. 11.x core/modules/book/src/BookManager.php \Drupal\book\BookManager::addFormElements()

File

core/modules/book/src/ProxyClass/BookManager.php, line 97

Class

BookManager
Provides a proxy class for \Drupal\book\BookManager.

Namespace

Drupal\book\ProxyClass

Code

public function addFormElements(array $form, \Drupal\Core\Form\FormStateInterface $form_state, \Drupal\node\NodeInterface $node, \Drupal\Core\Session\AccountInterface $account, $collapsed = true) {
    return $this->lazyLoadItself()
        ->addFormElements($form, $form_state, $node, $account, $collapsed);
}

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