You are here

function content_lock_ctools_plugin_directory in Content locking (anti-concurrent editing) 7.3

Same name and namespace in other branches
  1. 7.2 content_lock.module \content_lock_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./content_lock.module, line 680

Code

function content_lock_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'ctools' && $plugin_type == 'access') {
    return "plugins/{$plugin_type}";
  }
}