geshifilter-8.x-2.0-beta1/geshifilter.routing.yml

geshifilter.routing.yml
# Settings for geshifilter
geshifilter.settings:
  path: 'admin/config/content/formats/geshifilter'
  defaults:
    _form: '\Drupal\geshifilter\Form\GeshiFilterSettingsForm'
    _title: 'GeSHi Filter'
  requirements:
    _permission: 'administer site configuration'

# Disabled now, see https://www.drupal.org/node/2619612.
# Settings for filter conflicts
# geshifilter.settings_filter_conflicts:
#  path: 'admin/config/content/formats/geshifilter/filterconflicts'
#  defaults:
#    _content: '\Drupal\geshifilter\Controller\GeshiFilterConflicts::content'
#    _title: 'Filter conflicts'
#  requirements:
#    _permission: 'administer site configuration'

# Route for enabled languages
geshifilter.settings_languages:
  path: 'admin/config/content/formats/geshifilter/languages'
  defaults:
    _form: '\Drupal\geshifilter\Form\GeshiFilterLanguagesForm'
    _title: 'Languages'
    view: enabled
  requirements:
    _permission: 'administer site configuration'

# Route for all languages
geshifilter.settings_languages_all:
  path: 'admin/config/content/formats/geshifilter/languages/all'
  defaults:
    _form: '\Drupal\geshifilter\Form\GeshiFilterLanguagesForm'
    _title: 'All Languages'
    view: all
  requirements:
    _permission: 'administer site configuration'

# Route for disabled languages
geshifilter.settings_languages_disabled:
  path: 'admin/config/content/formats/geshifilter/languages/disabled'
  defaults:
    _form: '\Drupal\geshifilter\Form\GeshiFilterLanguagesForm'
    _title: 'Disabled Languages'
    view: disabled
  requirements:
    _permission: 'administer site configuration'

# The class is just a dummy class, but i need it now while working
# on the update to beta 1. Will be fixed to a working class latter,
# see https://www.drupal.org/node/2350669.
geshifilter.generate_css:
  path: 'admin/config/content/formats/geshifilter/generate_css'
  defaults:
    _controller: '\Drupal\geshifilter\GeshiFilterCss::generateCss'
    _title: 'GeSHi Filter CSS'
  requirements:
    _permission: 'administer site configuration'

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

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