X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsettings_tray%2Fsettings_tray.services.yml;fp=web%2Fcore%2Fmodules%2Fsettings_tray%2Fsettings_tray.services.yml;h=aeaaf57ed9fc674757426642b09abddab5bb79d7;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=0000000000000000000000000000000000000000;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/settings_tray/settings_tray.services.yml b/web/core/modules/settings_tray/settings_tray.services.yml new file mode 100644 index 000000000..aeaaf57ed --- /dev/null +++ b/web/core/modules/settings_tray/settings_tray.services.yml @@ -0,0 +1,11 @@ +services: + main_content_renderer.off_canvas: + class: Drupal\settings_tray\Render\MainContent\OffCanvasRenderer + arguments: ['@title_resolver', '@renderer'] + tags: + - { name: render.main_content_renderer, format: drupal_dialog.off_canvas } + + access_check.settings_tray.block.settings_tray_form: + class: Drupal\settings_tray\Access\BlockPluginHasSettingsTrayFormAccessCheck + tags: + - { name: access_check, applies_to: _access_block_plugin_has_settings_tray_form }