book_form_node_confirm_form_alter(&$form, FormStateInterface $form_state)
Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\Form\NodeDeleteForm.
Alters the confirm form for a single node deletion.
File
core/modules/book/book.module, line 330 Allows users to create and organize related content in an outline.
Code
function book_form_node_confirm_form_alter(&$form, FormStateInterface $form_state) {
// Only need to alter the delete operation form.
if ($form_state->getFormO