You are here

function gdpr_fields_ctools_plugin_directory in General Data Protection Regulation 7

Implements hook_ctools_plugin_directory().

File

modules/gdpr_fields/gdpr_fields.module, line 24
Module file for the GDPR Fields module.

Code

function gdpr_fields_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'gdpr_fields') {
    return 'plugins/' . $plugin_type;
  }
  if ($owner == 'ctools' && $plugin_type == 'export_ui') {
    return 'plugins/' . $plugin_type;
  }
}