Skip to content
Snippets Groups Projects
Commit 3923dac2 authored by shalini jha's avatar shalini jha Committed by Chris Wells
Browse files

Issue #3479924 by shalini_jha, chrisfromredfin, utkarsh_33, rkoller,...

Issue #3479924 by shalini_jha, chrisfromredfin, utkarsh_33, rkoller, narendrar: project browser devel module isn't working properly 
parent 714f3b46
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,8 @@
* Install and uninstall functions for the project_browser_devel module.
*/
use Drupal\project_browser\Plugin\ProjectBrowserSourceManager;
/**
* Implements hook_install().
*/
......@@ -17,6 +19,9 @@ function project_browser_devel_install() {
$configFactory->getEditable('project_browser.admin_settings')
->set('enabled_sources', $current_source_plugin)
->save(TRUE);
// Invalidate the cache to reflect the configuration changes.
\Drupal::service(ProjectBrowserSourceManager::class)->clearCachedDefinitions();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment