created custom drush commands to clean missing related flags and duplicates related flags

This commit is contained in:
2023-07-04 15:39:23 +02:00
parent 45c5d40de7
commit e735d2d21e
3 changed files with 185 additions and 18 deletions

View File

@@ -0,0 +1,6 @@
services:
MaterioFlagCleaning.commands:
class: \Drupal\materio_flag\Commands\MaterioFlagCleaning
arguments: ['@entity_type.manager', '@flaglists', '@current_user']
tags:
- { name: drush.command }