function ctools_plugin_example_ctools_plugin_api

Implement hook_ctools_plugin_api().

If you do this, CTools will pick up default panels pages in <modulename>.pages_default.inc.

File

ctools_plugin_example/ctools_plugin_example.module, line 62

Code

function ctools_plugin_example_ctools_plugin_api($module, $api) {
    // @todo -- this example should explain how to put it in a different file.
    if ($module == 'panels_mini' && $api == 'panels_default') {
        return array(
            'version' => 1,
        );
    }
    if ($module == 'page_manager' && $api == 'pages_default') {
        return array(
            'version' => 1,
        );
    }
}