layout_builder_ipe-1.0.x-dev/layout_builder_ipe.routing.yml

layout_builder_ipe.routing.yml
layout_builder_ipe.entity.override:
  path: '/layout-builder-ipe/entity/override/{entity_type}/{entity}'
  defaults:
    _controller: '\Drupal\layout_builder_ipe\Controller\EntityOverrideController::override'
    _title: 'Edit'
    section_storage_type: overrides
    section_storage: ''
  requirements:
    _custom_access: '\Drupal\layout_builder_ipe\Controller\EntityOverrideController::access'
  options:
    parameters:
      entity:
        type: entity:{entity_type}
      section_storage:
        layout_builder_tempstore: TRUE
        layout_builder_ipe: TRUE
layout_builder_ipe.entity.edit:
  path: '/layout-builder-ipe/entity/edit/{section_storage_type}/{section_storage}'
  defaults:
    _controller: '\Drupal\layout_builder_ipe\Controller\EntityEditController::edit'
    _title: 'Edit'
  requirements:
    _custom_access: '\Drupal\layout_builder_ipe\Controller\EntityEditController::access'
  options:
    parameters:
      section_storage:
        layout_builder_tempstore: TRUE
layout_builder_ipe.page_variant.edit:
  path: '/layout-builder-ipe/page_manager/edit/{section_storage_type}/{section_storage}'
  defaults:
    _controller: '\Drupal\layout_builder_ipe\Controller\PageVariantController::edit'
    _title: 'Edit'
  requirements:
    _custom_access: '\Drupal\layout_builder_ipe\Controller\PageVariantController::access'
  options:
    parameters:
      section_storage:
        layout_builder_tempstore: TRUE
layout_builder_ipe.break_lock:
  path: '/layout-builder-ipe/break-lock/{section_storage_type}/{section_storage}'
  defaults:
    _controller: '\Drupal\layout_builder_ipe\Controller\LockController::breakLock'
    _title: 'Break lock'
  requirements:
    _custom_access: '\Drupal\layout_builder_ipe\Controller\LockController::access'
  options:
    parameters:
      section_storage:
        layout_builder_tempstore: TRUE
layout_builder_ipe.config:
  path: '/admin/config/user-interface/layout-builder-ipe'
  defaults:
    _title: 'Layout Builder IPE'
    _form: 'Drupal\layout_builder_ipe\Form\LayoutBuilderIpeSettingsForm'
  requirements:
    _permission: 'administer layout builder ipe'

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

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