media_library.routing.yml

Same filename in other branches
  1. 8.9.x core/modules/media_library/media_library.routing.yml
  2. 10 core/modules/media_library/media_library.routing.yml
  3. 11.x core/modules/media_library/media_library.routing.yml
core/modules/media_library/media_library.routing.yml
5 string references to YAML keys in media_library.routing.yml
FileUploadForm::processUploadElement in core/modules/media_library/src/Form/FileUploadForm.php
Processes an upload (managed_file) element.
MediaLibrarySelectForm::viewsForm in core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
Form constructor for the media library select form.
MediaLibraryUiBuilder::buildMediaTypeMenu in core/modules/media_library/src/MediaLibraryUiBuilder.php
Get the media type menu for the media library.
OEmbedForm::buildInputElement in core/modules/media_library/src/Form/OEmbedForm.php
Builds the element for submitting source field value(s).
SettingsForm::getEditableConfigNames in core/modules/media_library/src/Form/SettingsForm.php
Gets the configuration names that will be editable.

File

core/modules/media_library/media_library.routing.yml

View source
  1. media_library.ui:
  2. path: '/media-library'
  3. defaults:
  4. _controller: 'media_library.ui_builder:buildUi'
  5. requirements:
  6. _custom_access: 'media_library.ui_builder:checkAccess'
  7. media_library.settings:
  8. path: '/admin/config/media/media-library'
  9. defaults:
  10. _form: '\Drupal\media_library\Form\SettingsForm'
  11. _title: 'Media Library settings'
  12. requirements:
  13. _permission: 'administer media'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.