You are here

function render_cache_ctools_plugin_directory in Render cache 7.2

Implements hook_ctools_plugin_directory().

Parameters

string $owner:

string $plugin_type:

Return value

null|string

File

./render_cache.module, line 48
Main module file for the Render Cache caching system.

Code

function render_cache_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'service_container') {
    return 'src/ServiceContainer/' . $plugin_type;
  }
  if ($owner == 'render_cache') {
    return 'src/RenderCache/' . $plugin_type;
  }
  return NULL;
}