function hook_ctools_entity_contexts_alter in Chaos Tool Suite (ctools) 7
Alter the definition of entity context plugins.
Parameters
array $plugins: An associative array of plugin definitions, keyed by plugin ID.
See also
hook_ctools_entity_context_alter()
4 invocations of hook_ctools_entity_contexts_alter()
- ctools_argument_entity_id_get_children in plugins/
arguments/ entity_id.inc - ctools_context_entity_get_children in plugins/
contexts/ entity.inc - ctools_entity_from_field_get_children in plugins/
relationships/ entity_from_field.inc - ctools_entity_from_schema_get_children in plugins/
relationships/ entity_from_schema.inc
File
- ./
ctools.api.php, line 292 - Hooks provided by the Chaos Tool Suite.
Code
function hook_ctools_entity_contexts_alter(array &$plugins) {
$plugins['entity_id:taxonomy_term']['no ui'] = TRUE;
}