Commit efca93ad authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3265975 by Obada Obaid, Rajab Natshah: Fix drush cim --partial...

Issue #3265975 by Obada Obaid, Rajab Natshah: Fix drush cim --partial --source=/app/config/sync on Platform.sh app server, which bring up a blocker message of |There were errors validating the config synchronization|
parent 7896d5fc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -61,8 +61,8 @@ function varbase_security_user_form_process_password_confirm($element) {
 */
function varbase_security_modules_installed($modules, $is_syncing) {
  if (in_array('security_review', $modules)) {
    $managed_config_module_path = 'security_review';
    $managed_config_path = Drupal::service('module_handler')->getModule('varbase_security')->getPath() . '/config/managed/' . $managed_configs_module_path;
    $managed_config_module_name = 'security_review';
    $managed_config_path = Drupal::service('module_handler')->getModule('varbase_security')->getPath() . '/config/managed/' . $managed_config_module_name;

    // Managed configs for the Security Review module.
    $managed_configs = [
+2 −2
Original line number Diff line number Diff line
@@ -72,8 +72,8 @@ function varbase_core_template_preprocess_default_variables_alter(&$variables) {
function varbase_core_modules_installed($modules, $is_syncing) {
  if (in_array('automated_cron', $modules)) {

    $managed_config_module_path = 'automated_cron';
    $managed_config_path = Drupal::service('module_handler')->getModule('varbase_core')->getPath() . '/config/managed/' . $managed_configs_module_path;
    $managed_config_module_name = 'automated_cron';
    $managed_config_path = Drupal::service('module_handler')->getModule('varbase_core')->getPath() . '/config/managed/' . $managed_config_module_name;

    // Import managed configs to the site active configs.
    $config_name = 'automated_cron.settings';