diff -u b/core/modules/book/book.module b/core/modules/book/book.module --- b/core/modules/book/book.module +++ b/core/modules/book/book.module @@ -232,21 +232,16 @@ if ($allowed_types) { foreach ($allowed_types as $note_type) { - $return['node'][$note_type] = [ - 'display' => [ - 'book_navigation' => [ - 'label' => t('Book navigation'), - 'description' => t('Book navigation links'), - 'weight' => 100, - 'visible' => TRUE, - ] - ] + $fields['node'][$note_type]['display']['book_navigation'] = [ + 'label' => t('Book navigation'), + 'description' => t('Book navigation links'), + 'weight' => 100, ]; } } - return $return; + return $fields; } /** only in patch2: unchanged: --- a/core/modules/book/config/optional/core.entity_view_display.node.book.default.yml +++ b/core/modules/book/config/optional/core.entity_view_display.node.book.default.yml @@ -19,7 +19,11 @@ content: region: content settings: { } third_party_settings: { } - links: + book_navigation: + label: hidden + region: content weight: 101 + links: + weight: 102 region: content hidden: { } only in patch2: unchanged: --- a/core/modules/book/config/optional/core.entity_view_display.node.book.teaser.yml +++ b/core/modules/book/config/optional/core.entity_view_display.node.book.teaser.yml @@ -21,7 +21,11 @@ content: settings: trim_length: 600 third_party_settings: { } - links: + book_navigation: + label: hidden + region: content weight: 101 + links: + weight: 102 region: content hidden: { }