FieldInfo::prepareExtraFields

public function FieldInfo::prepareExtraFields

public FieldInfo::prepareExtraFields($extra_fields, $entity_type, $bundle)

Prepares 'extra fields' for the current run-time context.

Parameters

$extra_fields: The array of extra fields, as collected in hook_field_extra_fields().

$entity_type: The entity type.

$bundle: The bundle name.

Return value

The list of extra fields completed for the current runtime context.

File

modules/field/field.info.class.inc, line 649