function search_api_exclude_ctools_plugin_directory in Search API exclude 7
Implements hook_ctools_plugin_directory().
File
- ./
search_api_exclude.module, line 175 - Allows users to exclude specific nodes from indexing by Search API.
Code
function search_api_exclude_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'ctools' && $plugin_type == 'content_types') {
return 'plugins/content_types';
}
}