term_merge.routing.yml in Term Merge 8
7 string references to YAML keys in term_merge.routing.yml
- MergeTerms::submitForm in src/
Form/ MergeTerms.php - Plugin annotation @SuppressWarnings(camelCase);
- MergeTermsConfirm::redirectToTermMergeForm in src/
Form/ MergeTermsConfirm.php - Sets a redirect to the term merge form.
- MergeTermsConfirmTest::submitRedirectsToMergeRoute in tests/
src/ Kernel/ Form/ MergeTermsConfirmTest.php - Tests the redirect after merging terms.
- MergeTermsTarget::submitForm in src/
Form/ MergeTermsTarget.php - Plugin annotation @SuppressWarnings(camelCase);
- MergeTermsTargetTest::existingTermSubmission in tests/
src/ Kernel/ Form/ MergeTermsTargetTest.php - Tests term merging to an existing term.
File
term_merge.routing.ymlView source
- entity.taxonomy_vocabulary.merge_form:
- path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/merge'
- defaults:
- _form: 'Drupal\term_merge\Form\MergeTerms'
- _title_callback: 'Drupal\term_merge\Form\MergeTerms::titleCallback'
- requirements:
- _permission: 'merge taxonomy terms'
- _term_merge_access_check: 'TRUE'
- options:
- _admin_route: TRUE
-
- entity.taxonomy_vocabulary.merge_target:
- path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/merge/target'
- defaults:
- _form: 'Drupal\term_merge\Form\MergeTermsTarget'
- _title_callback: 'Drupal\term_merge\Form\MergeTermsTarget::titleCallback'
- requirements:
- _permission: 'merge taxonomy terms'
- _term_merge_access_check: 'TRUE'
- options:
- _admin_route: TRUE
-
- entity.taxonomy_vocabulary.merge_confirm:
- path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/merge/confirm'
- defaults:
- _form: 'Drupal\term_merge\Form\MergeTermsConfirm'
- _title_callback: 'Drupal\term_merge\Form\MergeTermsConfirm::titleCallback'
- requirements:
- _permission: 'merge taxonomy terms'
- _term_merge_access_check: 'TRUE'
- options:
- _admin_route: TRUE