Automatically update config when content types are created or deleted

Created on 23 February 2024, 4 months ago
Updated 3 May 2024, about 2 months ago

Problem/Motivation

When node types are created the Save & Edit configuration falls into oblivion until the module functionality is needed in the new node type. The same happens when node types are deleted, and they persist in the configuration until it is manually updated.

Proposed resolution

Use the hook_entity_bundle_create() and hook_entity_bundle_delete() hooks to be able to update the Save & Edit configuration. In addition you can add a setting to determine whether node types should be activated automatically when they are created.

โœจ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain enchufe Madrid

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024