diff --git a/drop_jobs.profile b/drop_jobs.profile index ac4846a1ed1926a91ce64ad8724cec091ea9229c..e6423f15c66668cd2cbb8d66f56349f4302d35c3 100644 --- a/drop_jobs.profile +++ b/drop_jobs.profile @@ -238,7 +238,7 @@ function drop_jobs_core_features() { ); // Allow list of core features to be altered. - drupal_alter(array('drop_jobs_core_features'), $core_features); + drupal_alter('drop_jobs_core_features', $core_features); return $core_features; } @@ -287,7 +287,7 @@ function drop_jobs_get_search_providers() { ); // Allow other modules to change this. - drupal_alter(array('drop_jobs_search_providers'), $search_providers); + drupal_alter('drop_jobs_search_providers', $search_providers); } return $search_providers; diff --git a/modules/custom/drop_jobs_recommendation/drop_jobs_recommendation.module b/modules/custom/drop_jobs_recommendation/drop_jobs_recommendation.module index 089c0d7e5e3a6e0af086b511b2bfaa2eb33faed1..ce427afeef6089449a0165ce38a7adfc405071d4 100644 --- a/modules/custom/drop_jobs_recommendation/drop_jobs_recommendation.module +++ b/modules/custom/drop_jobs_recommendation/drop_jobs_recommendation.module @@ -404,7 +404,7 @@ function drop_jobs_recommendation_map() { $map['title'] = 'field_candidate_pref_title'; // Allow the map to be altered. - drupal_alter(array('drop_jobs_recommendation'), $map); + drupal_alter('drop_jobs_recommendation', $map); return $map; }