Skip to main content
Category:

Delete entities before importing config in Drupal 8 & 9

 

issue:

Entities exist of type Shortcut link and Default. These entities need to be deleted before importing configurations.

 

Solution:

You need delete the entities of type short-cut, you can do with drush:

drush ev '\Drupal::entityTypeManager()->getStorage("shortcut_set")->load("default")->delete();'

Riadh Rahmi

Senior Web Developer PHP/Drupal & Laravel

I am a senior web developer, I have experience in planning and developing large scale dynamic web solutions especially in Drupal & Laravel.

Web Posts

Search

Page Facebook