Skip to content
Snippets Groups Projects
Commit 19322fc0 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3404332: Include the default configuration for Editoria11y Settings as...

Issue #3404332: Include the default configuration for Editoria11y Settings as a recipe to be automatically imported whenever Editoria11y is activated
parent ea784e82
No related branches found
No related tags found
2 merge requests!51Fix phpcs issues,!40Issue #3392444: Revamp the 9.1.x branch for Varbase Core to work with Drupal...
content_root: ''
assertiveness: smart
no_load: '.layout-builder-form, #layout-builder, #drupal-off-canvas, #layout-builder-modal'
ignore_all_if_absent: ''
ignore_elements: ''
embedded_content_warning: ''
download_links: "a[href$='.pdf'], a[href*='.pdf?'], a[href$='.doc'], a[href$='.docx'], a[href*='.doc?'], a[href*='.docx?'], a[href$='.ppt'], a[href$='.pptx'], a[href*='.ppt?'], a[href*='.pptx?'], a[href^='https://docs.google']"
ignore_link_strings: '\(link is external\)|\(link sends email\)|\(download\)'
hidden_handlers: ''
ed11y_theme: sleekTheme
shadow_components: ''
disable_sync: false
preserve_params: 'search,keys,page,language,language_content_entity'
......@@ -93,8 +93,16 @@ function varbase_core_modules_installed($modules, $is_syncing) {
if (in_array('editoria11y', $modules)) {
// When the Editoria11y Accessibility Checker module is enabled,
// which not enabled by default.
// -------------------------------------------------
// Add permissions for default user roles.
ModuleInstallerFactory::addPermissions('varbase_core', 'config/managed/editoria11y/permissions');
// Import the default configuration recipe for Editoria11y Settings as a managed config.
$editoria11y_managed_configs = [
'editoria11y.settings',
];
ModuleInstallerFactory::importConfigsFromList('varbase_core', $editoria11y_managed_configs, 'config/managed/editoria11y/recipes');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment