You are here

function panels_flush_caches in Panels 6.3

Same name and namespace in other branches
  1. 7.3 panels.module \panels_flush_caches()

Implementation of hook_flush_caches().

We implement this so that we can be sure our legacy rendering state setting in $conf is updated whenever caches are cleared. Also indicates the custom Panels cache table.

File

./panels.module, line 281
panels.module

Code

function panels_flush_caches() {
  $legacy = panels_get_legacy_state();
  $legacy
    ->determineStatus();

  // The custom cache table.
  return array(
    'cache_panels',
  );
}