Compare commits

...

1 Commits

Author SHA1 Message Date
Paul Weidner 6fa6f73945 Add default view_builder handler for asset type
This fixes a potential bug where the canonical route is not created if a view_builder is not provided.
2023-11-20 15:40:00 -08:00
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ use Drupal\Core\Entity\EntityStorageInterface;
* ),
* handlers = {
* "list_builder" = "Drupal\asset\AssetTypeListBuilder",
* "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
* "form" = {
* "add" = "Drupal\asset\Form\AssetTypeForm",
* "edit" = "Drupal\asset\Form\AssetTypeForm",