function workflownode_ctools_plugin_directory in Workflow 7.2
Implements hook_ctools_plugin_directory().
This lets ctools know to scan my module for a content_type plugin file Detailed docks in ctools/ctools.api.php
This is used to integrate WorkflowNode with Panels. See d.o. #1511694, #2187731
File
- workflow_node/
workflownode.module, line 20 - Hooks and functions for the 'conventional' (version D5/D6/D7.1) Workflow Node, remnants of nodeapi.
Code
function workflownode_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'ctools' && !empty($plugin_type)) {
return "plugins/{$plugin_type}";
}
}