og_sm-8.x-1.0/og_sm_taxonomy/og_sm_taxonomy.routing.yml

og_sm_taxonomy/og_sm_taxonomy.routing.yml
og_sm_taxonomy.vocabulary_overview:
  path: '/group/node/{node}/admin/taxonomy'
  defaults:
    _controller: '\Drupal\og_sm_taxonomy\Controller\SiteTaxonomyController::vocabularyOverview'
    _title: 'Administer taxonomy'
  requirements:
    _og_sm_site_vocabulary_access: 'taxonomy_vocabulary'
  options:
    _admin_route: TRUE
    parameters:
      node:
        type: og_sm:site
og_sm_taxonomy.vocabulary.term_overview:
  path: '/group/node/{node}/admin/taxonomy/{taxonomy_vocabulary}'
  defaults:
    _form: 'Drupal\taxonomy\Form\OverviewTerms'
    _title_callback: 'Drupal\taxonomy\Controller\TaxonomyController::vocabularyTitle'
  requirements:
    _entity_access: 'taxonomy_vocabulary.access taxonomy overview'
  options:
    _admin_route: TRUE
    parameters:
      node:
        type: og_sm:site
og_sm_taxonomy.vocabulary.term_add:
  path: '/group/node/{node}/admin/taxonomy/{taxonomy_vocabulary}/add'
  defaults:
    _controller: '\Drupal\taxonomy\Controller\TaxonomyController::addForm'
    _title: 'Add term'
  requirements:
    _entity_create_access: 'taxonomy_term:{taxonomy_vocabulary}'
  options:
    _admin_route: TRUE
    parameters:
      node:
        type: og_sm:site

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc