diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/TaxonomyBundle.php b/core/modules/taxonomy/lib/Drupal/taxonomy/TaxonomyBundle.php index 4611e61..69376a5 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/TaxonomyBundle.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/TaxonomyBundle.php @@ -21,7 +21,7 @@ class TaxonomyBundle extends Bundle { public function build(ContainerBuilder $container) { $container->register('access_check.taxonomy.term', 'Drupal\taxonomy\Access\TermDeleteAccessCheck') ->addTag('access_check'); - $container->register('access_check.taxonomy.term', 'Drupal\taxonomy\Access\VocabularyDeleteAccessCheck') + $container->register('access_check.taxonomy.vocabulary', 'Drupal\taxonomy\Access\VocabularyDeleteAccessCheck') ->addTag('access_check'); }