Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Config Import - Delete Entities

75 sites Security covered Drupal 8–11
View on drupal.org

This module helps resolve configuration import errors that occur when entities need to be deleted before an entity type can be removed. It can automatically delete these entities to allow configuration imports to proceed or provide a debugging mode to list the entities that require deletion.

Introduction

Configuration management in D8 is amazing, and saves us a lot of effort. But one annoying thing is when it complains about entities that need to be deleted before a bundle/content-type/entity-type is deleted. When that happens, you cannot import any configurations until you've manually deleted the aforementioned entities.

This can be a problem if this happen during an automated configuration import as part of deployment (or similar). And it can when switching between branches on a project (where each project may have an entity type not on other branches yet), and when deploying changes with systems like Jenkins.

It may also not be trivial to find the entities and delete them (depending on what type of entities they are).

Enter this module

This module offers the option of automatically deleting these entities when detected, allowing the import of configurations to carry on.

It also offers a "debugging" mode in which it will list the entities that will/need to be deleted (as entity type/id pairs).

Both of these features can be independently enabled/disabled to fit your needs.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2025
Latest release
8 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
8.x-1.3 Stable 8–11 Dec 30, 2025