diff --git a/core/modules/shortcut/shortcut.install b/core/modules/shortcut/shortcut.install index 515e38f..d716a03 100644 --- a/core/modules/shortcut/shortcut.install +++ b/core/modules/shortcut/shortcut.install @@ -53,8 +53,8 @@ function shortcut_schema() { * Implements hook_install(). */ function shortcut_install() { - // Themes settings are not configuration entities and cannot depend on modules - // so to set a module specific setting, we need to set it with logic. + // Theme settings are not configuration entities and cannot depend on modules + // so to set a module-specific setting, we need to set it with logic. if (\Drupal::service('theme_handler')->themeExists('seven')) { \Drupal::config('seven.settings')->set('third_party_settings.shortcut.module_link', TRUE)->save(); } @@ -64,8 +64,8 @@ function shortcut_install() { * Implements hook_uninstall(). */ function shortcut_uninstall() { - // Themes settings are not configuration entities and cannot depend on modules - // so to unset a module specific setting, we need to unset it with logic. + // Theme settings are not configuration entities and cannot depend on modules + // so to unset a module-specific setting, we need to unset it with logic. if (\Drupal::service('theme_handler')->themeExists('seven')) { \Drupal::config('seven.settings')->clear('third_party_settings.shortcut.module_link')->save(); } diff --git a/core/modules/shortcut/shortcut.module b/core/modules/shortcut/shortcut.module index 7f0dbf8..696a381 100644 --- a/core/modules/shortcut/shortcut.module +++ b/core/modules/shortcut/shortcut.module @@ -402,8 +402,8 @@ function shortcut_toolbar() { */ function shortcut_themes_installed($theme_list) { if (in_array('seven', $theme_list)) { - // Themes settings are not configuration entities and cannot depend on modules - // so to set a module specific setting, we need to set it with logic. + // Theme settings are not configuration entities and cannot depend on modules + // so to set a module-specific setting, we need to set it with logic. if (\Drupal::moduleHandler()->moduleExists('shortcut')) { \Drupal::config('seven.settings')->set('third_party_settings.shortcut.module_link', TRUE)->save(); }