BookSettingsForm::submitForm

public BookSettingsForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ConfigFormBase::submitForm File core/modules/book/src/Form/BookSettingsForm.php, line 68 Class BookSettingsForm Configure book settings for this site. Namespace Drupal\book\Form Code public function submi

BookSettingsForm::getFormId

public BookSettingsForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/book/src/Form/BookSettingsForm.php, line 16 Class BookSettingsForm Configure book settings for this site. Namespace Drupal\book\Form Code public function getFormId() { return 'book_admin_settings'; }

BookSettingsForm::getEditableConfigNames

protected BookSettingsForm::getEditableConfigNames() Gets the configuration names that will be editable. Return value array An array of configuration object names that are editable if called in conjunction with the trait's config() method. Overrides ConfigFormBaseTrait::getEditableConfigNames File core/modules/book/src/Form/BookSettingsForm.php, line 23 Class BookSettingsForm Configure book settings for this site. Namespace Drupal\book\Form Code protected function getEditableConfigNam

BookSettingsForm::buildForm

public BookSettingsForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ConfigFormBase::buildForm File core/modules/book/src/Form/BookSettingsForm.php, line 30 Class BookSettingsForm Configure book settings for this site. Namespace Drupal\book\Form

BookSettingsForm

Configure book settings for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\book\Form\BookSettingsForm File core/modules/book/src/Form/BookSettingsForm.php, line 11 Namespace Drupal\book\Form Members Name M

BookRemoveForm::__construct

public BookRemoveForm::__construct(BookManagerInterface $book_manager) Constructs a BookRemoveForm object. Parameters \Drupal\book\BookManagerInterface $book_manager: The book manager. File core/modules/book/src/Form/BookRemoveForm.php, line 36 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code public function __construct(BookManagerInterface $book_manager) { $this->bookManager = $book_manager; }

BookRemoveForm::submitForm

public BookRemoveForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/book/src/Form/BookRemoveForm.php, line 101 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code public function submitForm(array &

BookRemoveForm::getQuestion

public BookRemoveForm::getQuestion() Returns the question to ask the user. Return value string The form question. The page title will be set to this value. Overrides ConfirmFormInterface::getQuestion File core/modules/book/src/Form/BookRemoveForm.php, line 87 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code public function getQuestion() { return $this->t('Are you sure you want to remove %title from the book hierarchy?', array('%title' => $this-

BookRemoveForm::getFormId

public BookRemoveForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/book/src/Form/BookRemoveForm.php, line 52 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code public function getFormId() { return 'book_remove_form'; }

BookRemoveForm::getDescription

public BookRemoveForm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides ConfirmFormBase::getDescription File core/modules/book/src/Form/BookRemoveForm.php, line 67 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code public function getDescription() { $title = array('%title' => $this->node->label()); if ($this->node->book['has_children']) { return $this->t('%