You are here

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

ctools_field_invoke_field()

_field_invoke_default()

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);
}