You are here

function panels_ctools_plugin_api in Panels 6.3

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

Implementation of hook_ctools_plugin_api().

Inform CTools about version information for various plugins implemented by Panels.

Parameters

string $owner: The system name of the module owning the API about which information is being requested.

string $api: The name of the API about which information is being requested.

File

./panels.module, line 354
panels.module

Code

function panels_ctools_plugin_api($owner, $api) {
  if ($owner == 'panels' && $api == 'styles') {

    // As of 6.x-3.6, Panels has a slightly new system for style plugins.
    return array(
      'version' => 2.0,
    );
  }
  if ($owner == 'panels' && $api == 'pipelines') {
    return array(
      'version' => 1,
      'path' => drupal_get_path('module', 'panels') . '/includes',
    );
  }
}