Automatically update config when content types are created or deleted

Created on 23 February 2024, 9 months ago
Updated 2 August 2024, 3 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

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain enchufe Spain

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024