You are here

function panels_everywhere_ctools_plugin_api in Panels Everywhere 7

Same name and namespace in other branches
  1. 6 panels_everywhere.module \panels_everywhere_ctools_plugin_api()

Implement hook_ctools_plugin_api().

We use this for our default 'sample' task handler for the site template.

File

./panels_everywhere.module, line 189
panels_everywhere.module

Code

function panels_everywhere_ctools_plugin_api($module, $api) {
  if (variable_get('panels_everywhere_provide_sample', FALSE) && $module == 'page_manager' && $api == 'pages_default') {
    return array(
      'version' => 1,
    );
  }
}