From f8514fe434e5998b6873315c6525c6efc8930d99 Mon Sep 17 00:00:00 2001 From: webchick Date: Sat, 18 Apr 2015 03:41:39 -0700 Subject: [PATCH] Issue #2331783 by rpayanm, gerzenstl, keopx, rgristroph, nlisgo, er.pushpinderrana, andypost, rteijeiro, alexpott, BFox, omessaoudi: hook_ENTITY_TYPE_prepare_form() is not documented --- core/modules/book/book.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/book/book.module b/core/modules/book/book.module index 356f68b53b4..ebb821cd061 100644 --- a/core/modules/book/book.module +++ b/core/modules/book/book.module @@ -294,7 +294,7 @@ function book_node_predelete(EntityInterface $node) { } /** - * Implements hook_node_prepare_form(). + * Implements hook_ENTITY_TYPE_prepare_form() for node entities. */ function book_node_prepare_form(NodeInterface $node, $operation, FormStateInterface $form_state) { /** @var \Drupal\book\BookManagerInterface $book_manager */