function fences_ctools_plugin_post_alter in Fences 7.2
Implements hook_ctools_plugin_post_alter().
File
- ./
fences.module, line 265 - Fences is a module providing configurable field wrappers.
Code
function fences_ctools_plugin_post_alter(&$plugin, $plugin_type_info) {
// Adjust content type plugin for entity fields to provide fences integration.
if ($plugin['name'] == 'entity_field' && $plugin_type_info['module'] == 'ctools' && $plugin_type_info['type'] == 'content_types') {
$plugin['render callback'] = 'fences_entity_field_content_type_render';
}
}