By acbramley on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.3.x
Introduced in version:
11.3.0
Issue links:
Description:
To support better extensibility of the Overview form for Taxonomy vocabularies, Drupal\taxonomy\Form\OverviewTerms now extends Drupal\Core\Entity\EntityForm
The overview route has subsequently been updated as well
From
$route->setDefault('_form', 'Drupal\taxonomy\Form\OverviewTerms')
To
$route->setDefault('_entity_form', 'taxonomy_vocabulary.overview')
This gives developers an easy way to override this form via hook_entity_type_alter
$entity_types['taxonomy_vocabulary']->setFormClass('overview', 'Drupal\my_module\MyOverviewTerms');
Impacts:
Module developers