You are here

function hook_ctools_plugin_api in Strongarm 6.2

Implementation of hook_ctools_plugin_api().

Example of a CTools plugin hook that needs to be implemented to make hook_strongarm() discoverable by CTools and Strongarm. The hook specifies that the hook_strongarm() returns Strongarm API version 1 style plugins.

File

./strongarm.api.php, line 16
Hooks provided by Strongarm.

Code

function hook_ctools_plugin_api() {
  if ($module == "strongarm" && $api == "strongarm") {
    return array(
      "version" => 1,
    );
  }
}