Initial Drupal 11 with DDEV setup
This commit is contained in:
		
							
								
								
									
										39
									
								
								web/core/modules/taxonomy/taxonomy.routing.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								web/core/modules/taxonomy/taxonomy.routing.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,39 @@
 | 
			
		||||
entity.taxonomy_term.add_form:
 | 
			
		||||
  path: '/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/add'
 | 
			
		||||
  defaults:
 | 
			
		||||
    _controller: '\Drupal\taxonomy\Controller\TaxonomyController::addForm'
 | 
			
		||||
    _title: 'Add term'
 | 
			
		||||
  requirements:
 | 
			
		||||
    _entity_create_access: 'taxonomy_term:{taxonomy_vocabulary}'
 | 
			
		||||
 | 
			
		||||
entity.taxonomy_term.edit_form:
 | 
			
		||||
  path: '/taxonomy/term/{taxonomy_term}/edit'
 | 
			
		||||
  defaults:
 | 
			
		||||
    _entity_form: 'taxonomy_term.default'
 | 
			
		||||
    _title: 'Edit term'
 | 
			
		||||
  options:
 | 
			
		||||
    _admin_route: TRUE
 | 
			
		||||
  requirements:
 | 
			
		||||
    _entity_access: 'taxonomy_term.update'
 | 
			
		||||
    taxonomy_term: \d+
 | 
			
		||||
 | 
			
		||||
entity.taxonomy_term.delete_form:
 | 
			
		||||
  path: '/taxonomy/term/{taxonomy_term}/delete'
 | 
			
		||||
  defaults:
 | 
			
		||||
    _entity_form: 'taxonomy_term.delete'
 | 
			
		||||
    _title: 'Delete term'
 | 
			
		||||
  options:
 | 
			
		||||
    _admin_route: TRUE
 | 
			
		||||
  requirements:
 | 
			
		||||
    _entity_access: 'taxonomy_term.delete'
 | 
			
		||||
    taxonomy_term: \d+
 | 
			
		||||
 | 
			
		||||
entity.taxonomy_term.canonical:
 | 
			
		||||
  path: '/taxonomy/term/{taxonomy_term}'
 | 
			
		||||
  defaults:
 | 
			
		||||
    _entity_view: 'taxonomy_term.full'
 | 
			
		||||
    _title: 'Taxonomy term'
 | 
			
		||||
    _title_callback: '\Drupal\taxonomy\Controller\TaxonomyController::termTitle'
 | 
			
		||||
  requirements:
 | 
			
		||||
    _entity_access: 'taxonomy_term.view'
 | 
			
		||||
    taxonomy_term: \d+
 | 
			
		||||
		Reference in New Issue
	
	Block a user