Automatically re-order tags on save

Fixes #167
This commit is contained in:
Oliver Davies 2020-08-28 11:35:54 +01:00
parent 5e107b48d6
commit 59a98b8d78
13 changed files with 268 additions and 0 deletions

View file

@ -3,5 +3,9 @@ services:
tags:
- { name: event_subscriber }
Drupal\opdavies_blog\EventSubscriber\ReorderBlogTags:
tags:
- { name: event_subscriber }
Drupal\opdavies_blog\Repository\PostRepository:
autowire: true