function hook_ctools_plugin_type
Inform CTools about plugin types.
Return value
array An array of plugin types, keyed by the type name. See the advanced help topic 'plugins-creating' for details of the array properties.
4 functions implement hook_ctools_plugin_type()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- ctools_ctools_plugin_type in ./
ctools.module - Implements hook_ctools_plugin_type().
- ctools_plugin_test_ctools_plugin_type in tests/
ctools_plugin_test.module - Implements hook_ctools_plugin_type().
- page_manager_ctools_plugin_type in page_manager/
page_manager.module - Implements hook_ctools_plugin_type() to inform the plugin system that Page Manager owns task, task_handler, and page_wizard plugin types.
- stylizer_ctools_plugin_type in stylizer/
stylizer.module - Implements hook_ctools_plugin_type() to inform the plugin system that Stylizer style_base plugin types.
1 invocation of hook_ctools_plugin_type()
- ctools_plugin_get_plugin_type_info in includes/
plugins.inc - Return the full list of plugin type info for all plugin types registered in the current system.
File
-
./
ctools.api.php, line 24
Code
function hook_ctools_plugin_type() {
$plugins['my_type'] = array(
'load themes' => TRUE,
);
return $plugins;
}