media.routing.yml
Same filename in other branches
9 string references to YAML keys in media.routing.yml
- DynamicLocalTasks::__construct in core/
modules/ media/ src/ Plugin/ Derivative/ DynamicLocalTasks.php - Creates a DynamicLocalTasks object.
- MediaConfigSubscriber::onSave in core/
modules/ media/ src/ EventSubscriber/ MediaConfigSubscriber.php - Updates entity type definitions and ensures routes are rebuilt when needed.
- MediaRouteProvider::__construct in core/
modules/ media/ src/ Routing/ MediaRouteProvider.php - Constructs a new DefaultHtmlRouteProvider.
- MediaSettingsForm::buildForm in core/
modules/ media/ src/ Form/ MediaSettingsForm.php - Form constructor.
- MediaSettingsForm::getEditableConfigNames in core/
modules/ media/ src/ Form/ MediaSettingsForm.php - Gets the configuration names that will be editable.
File
-
core/
modules/ media/ media.routing.yml
View source
- media.oembed_iframe:
- path: '/media/oembed'
- defaults:
- _controller: '\Drupal\media\Controller\OEmbedIframeController::render'
- requirements:
- _permission: 'view media'
-
- media.settings:
- path: '/admin/config/media/media-settings'
- defaults:
- _form: '\Drupal\media\Form\MediaSettingsForm'
- _title: 'Media settings'
- requirements:
- _permission: 'administer media'
-
- media.filter.preview:
- path: '/media/{filter_format}/preview'
- defaults:
- _controller: '\Drupal\media\Controller\MediaFilterController::preview'
- methods: [GET]
- requirements:
- _entity_access: 'filter_format.use'
- _custom_access: '\Drupal\media\Controller\MediaFilterController::formatUsesMediaEmbedFilter'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.