You are here

function layout_ctools_plugin_api in Layout 7

Implementation of hook_ctools_plugin_api().

Tell CTools that we support the default_layout_breakpoint and default_panels_layout APIs.

File

./layout.module, line 74
Responsive layout builder tool for Panels.

Code

function layout_ctools_plugin_api($owner, $api) {
  if ($owner == 'layout' && $api == 'default_layout_breakpoint' || $owner == 'layout' && $api == 'default_layout_region' || $owner == 'panels' && $api == 'layouts') {
    return array(
      'version' => 1,
    );
  }
}