function we_megamenu_flush_render_cache in Drupal Mega Menu 8
Same name and namespace in other branches
- 8.x we_megamenu.module \we_megamenu_flush_render_cache()
Function we_megamenu_flush_render_cache.
3 calls to we_megamenu_flush_render_cache()
- WeMegaMenuAdminController::resetConfigWeMegaMenu in src/
Controller/ WeMegaMenuAdminController.php - A function reset menu config.
- WeMegaMenuAdminController::saveConfigWeMegaMenu in src/
Controller/ WeMegaMenuAdminController.php - A function ajax save menu config.
- WeMegaMenuAdminController::styleOfBackendWeMegaMenu in src/
Controller/ WeMegaMenuAdminController.php - A function set style backend.
File
- ./
we_megamenu.module, line 808 - Drupal 8 Mega Menu Module.
Code
function we_megamenu_flush_render_cache() {
$renderCache = \Drupal::service('cache.render');
$renderCache
->invalidateAll();
}