function acquia_search_post_update_clear_routes in Acquia Search 3.x
Clear cache to rebuild routes.
File
- ./
acquia_search.post_update.php, line 14 - Search Solr updates once other modules have made their own updates.
Code
function acquia_search_post_update_clear_routes() {
\Drupal::service("router.builder")
->rebuild();
PhpStorageFactory::get("twig")
->deleteAll();
}