function content_lock_ctools_plugin_directory in Content locking (anti-concurrent editing) 7.2
Same name and namespace in other branches
- 7.3 content_lock.module \content_lock_ctools_plugin_directory()
Implements hook_ctools_plugin_directory().
File
- ./
content_lock.module, line 1122 - Allows users to lock documents for modification.
Code
function content_lock_ctools_plugin_directory($owner, $plugin_type) {
if ($owner == 'ctools' && $plugin_type == 'access') {
return "plugins/{$plugin_type}";
}
}