You are here

function entity_background_get_field_eb_background in Entity background 7

Create eb_background field.

Return value

array An field information array.

1 call to entity_background_get_field_eb_background()
entity_background_add_field_eb_background in includes/entity_background.fields_crud.inc
Creates eb_background field instance.

File

includes/entity_background.fields_crud.inc, line 52
Fields CRUD functions.

Code

function entity_background_get_field_eb_background() {
  $field = _entity_background_get_field(array(
    'field_name' => EB_FIELD,
    'type' => 'field_collection',
    'cardinality' => 1,
  ));
  return $field;
}