103 lines
3.2 KiB
YAML
103 lines
3.2 KiB
YAML
taxonomy.vocabulary_list:
|
|
path: '/admin/structure/taxonomy'
|
|
defaults:
|
|
_entity_list: 'taxonomy_vocabulary'
|
|
_title: 'Taxonomy'
|
|
requirements:
|
|
_permission: 'administer taxonomy'
|
|
|
|
taxonomy.term_add:
|
|
path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/add'
|
|
defaults:
|
|
_content: '\Drupal\taxonomy\Controller\TaxonomyController::addForm'
|
|
_title: 'Add term'
|
|
requirements:
|
|
_entity_create_access: 'taxonomy_term:{taxonomy_vocabulary}'
|
|
|
|
taxonomy.term_edit:
|
|
path: '/taxonomy/term/{taxonomy_term}/edit'
|
|
defaults:
|
|
_entity_form: 'taxonomy_term.default'
|
|
_title: 'Edit term'
|
|
requirements:
|
|
_entity_access: 'taxonomy_term.update'
|
|
|
|
taxonomy.term_delete:
|
|
path: '/taxonomy/term/{taxonomy_term}/delete'
|
|
defaults:
|
|
_entity_form: 'taxonomy_term.delete'
|
|
_title: 'Delete term'
|
|
requirements:
|
|
_entity_access: 'taxonomy_term.delete'
|
|
|
|
taxonomy.vocabulary_add:
|
|
path: '/admin/structure/taxonomy/add'
|
|
defaults:
|
|
_entity_form: 'taxonomy_vocabulary'
|
|
_title: 'Add vocabulary'
|
|
requirements:
|
|
_entity_create_access: 'taxonomy_vocabulary'
|
|
|
|
taxonomy.vocabulary_edit:
|
|
path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}'
|
|
defaults:
|
|
_entity_form: 'taxonomy_vocabulary.default'
|
|
_title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::vocabularyTitle'
|
|
requirements:
|
|
_entity_access: 'taxonomy_vocabulary.update'
|
|
|
|
taxonomy.vocabulary_delete:
|
|
path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/delete'
|
|
defaults:
|
|
_entity_form: 'taxonomy_vocabulary.delete'
|
|
_title: 'Delete vocabulary'
|
|
requirements:
|
|
_entity_access: 'taxonomy_vocabulary.delete'
|
|
|
|
taxonomy.vocabulary_reset:
|
|
path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/reset'
|
|
defaults:
|
|
_entity_form: 'taxonomy_vocabulary.reset'
|
|
requirements:
|
|
_permission: 'administer taxonomy'
|
|
|
|
taxonomy.autocomplete:
|
|
path: '/taxonomy/autocomplete/{entity_type}/{field_name}'
|
|
defaults:
|
|
_controller: '\Drupal\taxonomy\Controller\TermAutocompleteController::autocomplete'
|
|
requirements:
|
|
_permission: 'access content'
|
|
|
|
taxonomy.autocomplete_vid:
|
|
path: '/taxonomy/autocomplete_vid/{taxonomy_vocabulary}'
|
|
defaults:
|
|
_controller: '\Drupal\taxonomy\Controller\TermAutocompleteController::autocompletePerVid'
|
|
requirements:
|
|
_permission: 'access content'
|
|
|
|
taxonomy.overview_terms:
|
|
path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/overview'
|
|
defaults:
|
|
_form: 'Drupal\taxonomy\Form\OverviewTerms'
|
|
_title_callback: 'Drupal\taxonomy\Controller\TaxonomyController::vocabularyTitle'
|
|
requirements:
|
|
_entity_access: 'taxonomy_vocabulary.view'
|
|
|
|
taxonomy.term_page:
|
|
path: '/taxonomy/term/{taxonomy_term}'
|
|
defaults:
|
|
_content: '\Drupal\taxonomy\Controller\TaxonomyController::termPage'
|
|
_title: 'Taxonomy term'
|
|
_title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::termTitle'
|
|
requirements:
|
|
_entity_access: 'taxonomy_term.view'
|
|
|
|
taxonomy.term_feed:
|
|
path: '/taxonomy/term/{taxonomy_term}/feed'
|
|
defaults:
|
|
_content: '\Drupal\taxonomy\Controller\TaxonomyController::termFeed'
|
|
_title: 'Taxonomy term'
|
|
_title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::termTitle'
|
|
requirements:
|
|
_entity_access: 'taxonomy_term.view'
|