jsonapi.routing.yml

Same filename in other branches
  1. 9 core/modules/jsonapi/jsonapi.routing.yml
  2. 10 core/modules/jsonapi/jsonapi.routing.yml
  3. 11.x core/modules/jsonapi/jsonapi.routing.yml
core/modules/jsonapi/jsonapi.routing.yml
4 string references to YAML keys in jsonapi.routing.yml
JsonApiSettingsForm::buildForm in core/modules/jsonapi/src/Form/JsonApiSettingsForm.php
Form constructor.
JsonApiSettingsForm::getEditableConfigNames in core/modules/jsonapi/src/Form/JsonApiSettingsForm.php
Gets the configuration names that will be editable.
jsonapi_update_8701 in core/modules/jsonapi/jsonapi.install
Enable BC: default the new read-only mode to "off" on existing sites.
ReadOnlyModeUpdateTest::testBcReadOnlyModeSettingAdded in core/modules/jsonapi/tests/src/Functional/Update/ReadOnlyModeUpdateTest.php
Tests jsonapi_update_8701().

File

core/modules/jsonapi/jsonapi.routing.yml

View source
  1. route_callbacks:
  2. - '\Drupal\jsonapi\Routing\Routes::routes'
  3. jsonapi.settings:
  4. path: '/admin/config/services/jsonapi'
  5. defaults:
  6. _form: '\Drupal\jsonapi\Form\JsonApiSettingsForm'
  7. _title: 'JSON:API'
  8. requirements:
  9. _permission: 'administer site configuration'

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