You are here

function farm_asset_ctools_plugin_directory in farmOS 7

Implements hook_ctools_plugin_directory().

File

modules/farm/farm_asset/farm_asset.module, line 502
Farm asset - A farm asset entity type.

Code

function farm_asset_ctools_plugin_directory($owner, $plugin_type) {
  $directory = '';
  if ($owner == 'page_manager' || $owner == 'ctools' || $owner == 'panels') {
    if ($plugin_type == 'tasks') {
      $directory = 'includes/ctools';
    }
  }
  return $directory;
}