Description of the need This is a long standing confusion. In Drupal there are multiple issues for this:
- https://www.drupal.org/project/drupal/issues/502430
- https://www.drupal.org/project/drupal/issues/848470
- https://www.drupal.org/project/drupal/issues/2862291
The first issue describes it well:
It is somewhat disconcerting to users who have the 'administer book outlines' permission to see the 'outline' tab and 'outline' fieldset on every single node type, regardless of whether that node type has been configured to be allowed in books. I can see a use-case where that might be a desired feature, but i think its probably relatively rare.
Note, that book module seems to be the oddball here. If you disable menus for a content type not even user 1 has ability to add them to a menu from within the content type.
Proposed solution
Create an additional checkbox in the content/book/settings form that when checked allows book outlines for any content type, not just the designated book-types. By default this is checked, so that any current sites that might rely on "seeing outline information on all content types regardless of config settings" won't be broken by this after upgrading.
Recent comments
@yorkshirepudding, In the end I fixed it by deleting the config/active folder contents, copying the config/staging/ files into config/active, importing the database again and clearing the caches...
Importing the staged config throws an error: another field with the same name already exists
Thanks, I have to go out now, I will try later on and report back
Importing the staged config throws an error: another field with the same name already exists
Hi Francis. Yes, what config do you have in staging for it? You might have configs like: field.field.field_video_embed field.instance.node.page....
Importing the staged config throws an error: another field with the same name already exists