Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion boulder_profile.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ install:
- recaptcha_v3
- rebuild_cache_access
- ucb_drush_commands
- trash
- diff

# Required modules
Expand Down
13 changes: 1 addition & 12 deletions boulder_profile.install
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ function boulder_profile_install() {
_boulder_profile_install_shortcuts();
_boulder_profile_install_administerusersbyrole_settings();
_boulder_profile_install_webform_settings();
_boulder_profile_install_trash_settings();
}

/**
Expand Down Expand Up @@ -196,14 +195,4 @@ function _boulder_profile_install_webform_settings() {
$htmlEditorSettings = $settings->get('html_editor');
$htmlEditorSettings['element_format'] = $htmlEditorSettings['mail_format'] = 'wysiwyg';
$settings->set('html_editor', $htmlEditorSettings)->save();
}

/**
* Installs Trash contrib module settings.
*/
function _boulder_profile_install_trash_settings() {
$profilePath = Drupal::getContainer()->get('extension.path.resolver')->getPath('profile', 'boulder_profile');
$settingsYaml = Yaml::parse(file_get_contents($profilePath . '/config/install/trash.settings.yml'));
$settingsYaml['enabled_entity_types'] = ['node' => []];
\Drupal::configFactory()->getEditable('trash.settings')->setData($settingsYaml)->save();
}
}
5 changes: 0 additions & 5 deletions config/install/trash.settings.yml

This file was deleted.

5 changes: 0 additions & 5 deletions config/install/user.role.architect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ dependencies:
- system
- taxonomy
- toolbar
- trash
- ucb_site_configuration
- ucb_trust_schema
- ucb_user_invite
Expand All @@ -117,7 +116,6 @@ permissions:
- 'access site-wide contact form'
- 'access taxonomy overview'
- 'access toolbar'
- 'access trash'
- 'access user profiles'
- 'access users overview'
- 'access webform overview'
Expand Down Expand Up @@ -420,9 +418,7 @@ permissions:
- 'invite users'
- 'link to any page'
- 'manage trust metadata'
- 'purge node entities'
- 'rebuild cache access'
- 'restore node entities'
- 'revert all revisions'
- 'revert any article_list_block block content revisions'
- 'revert any collection_grid block content revisions'
Expand Down Expand Up @@ -512,7 +508,6 @@ permissions:
- 'view any webform submission'
- 'view basic_page revisions'
- 'view collection_item_page revisions'
- 'view deleted entities'
- 'view form_page revisions'
- 'view media'
- 'view newsletter revisions'
Expand Down
4 changes: 0 additions & 4 deletions config/install/user.role.content_editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ dependencies:
- system
- taxonomy
- toolbar
- trash
id: content_editor
label: 'Content Editor'
weight: 4
Expand All @@ -97,7 +96,6 @@ permissions:
- 'access shortcuts'
- 'access taxonomy overview'
- 'access toolbar'
- 'access trash'
- 'access user profiles'
- 'administer menu'
- 'administer nodes'
Expand Down Expand Up @@ -344,7 +342,6 @@ permissions:
- 'edit terms in tags'
- 'edit terms in ucb_person_job_type'
- 'link to any page'
- 'restore node entities'
- 'revert all revisions'
- 'revert any article_list_block block content revisions'
- 'revert any collection_grid block content revisions'
Expand Down Expand Up @@ -425,7 +422,6 @@ permissions:
- 'view any video_reveal block content history'
- 'view basic_page revisions'
- 'view collection_item_page revisions'
- 'view deleted entities'
- 'view form_page revisions'
- 'view own unpublished content'
- 'view own unpublished media'
Expand Down
6 changes: 0 additions & 6 deletions config/install/user.role.developer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ dependencies:
- system
- taxonomy
- toolbar
- trash
- ucb_site_configuration
- ucb_trust_schema
- ucb_user_invite
Expand Down Expand Up @@ -137,7 +136,6 @@ permissions:
- 'access site-wide contact form'
- 'access taxonomy overview'
- 'access toolbar'
- 'access trash'
- 'access user contact forms'
- 'access user profiles'
- 'access users overview'
Expand Down Expand Up @@ -209,7 +207,6 @@ permissions:
- 'administer taxonomy_term fields'
- 'administer taxonomy_term form display'
- 'administer themes'
- 'administer trash'
- 'administer ucb external services'
- 'administer url aliases'
- 'administer user display'
Expand Down Expand Up @@ -523,9 +520,7 @@ permissions:
- 'link to any page'
- 'manage trust metadata'
- 'notify of path changes'
- 'purge node entities'
- 'rebuild cache access'
- 'restore node entities'
- 'revert all revisions'
- 'revert any article_list_block block content revisions'
- 'revert any collection_grid block content revisions'
Expand Down Expand Up @@ -621,7 +616,6 @@ permissions:
- 'view authmap'
- 'view basic_page revisions'
- 'view collection_item_page revisions'
- 'view deleted entities'
- 'view form_page revisions'
- 'view media'
- 'view newsletter revisions'
Expand Down
5 changes: 0 additions & 5 deletions config/install/user.role.site_manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ dependencies:
- system
- taxonomy
- toolbar
- trash
- ucb_site_configuration
- ucb_user_invite
- webform
Expand All @@ -110,7 +109,6 @@ permissions:
- 'access site-wide contact form'
- 'access taxonomy overview'
- 'access toolbar'
- 'access trash'
- 'access user profiles'
- 'access users overview'
- 'access webform overview'
Expand Down Expand Up @@ -390,8 +388,6 @@ permissions:
- 'edit users by role'
- 'invite users'
- 'link to any page'
- 'purge node entities'
- 'restore node entities'
- 'revert all revisions'
- 'revert any article_list_block block content revisions'
- 'revert any collection_grid block content revisions'
Expand Down Expand Up @@ -477,7 +473,6 @@ permissions:
- 'view any webform submission'
- 'view basic_page revisions'
- 'view collection_item_page revisions'
- 'view deleted entities'
- 'view form_page revisions'
- 'view media'
- 'view own unpublished content'
Expand Down
Loading