function ctools_field_invoke_field_default in Chaos Tool Suite (ctools) 7
Replacement for core _field_invoke_default() to invoke on a single field.
See also
File
- includes/
fields.inc, line 305 - Extend core fields with some helper functions to reduce code complexity within views and ctools plugins.
Code
function ctools_field_invoke_field_default($field_name, $op, $entity_type, $entity, &$a = NULL, &$b = NULL, $options = array()) {
$options['default'] = TRUE;
return ctools_field_invoke_field($field_name, $op, $entity_type, $entity, $a, $b, $options);
}