function entity_background_get_field_text in Entity background 7
Create text field.
Parameters
$field_name: A field name.
Return value
array An field information array.
1 call to entity_background_get_field_text()
- entity_background_add_field_text in includes/
entity_background.fields_crud.inc - Create text field instance.
File
- includes/
entity_background.fields_crud.inc, line 256 - Fields CRUD functions.
Code
function entity_background_get_field_text($field_name) {
$field = _entity_background_get_field(array(
'field_name' => $field_name,
'type' => 'text',
'cardinality' => 1,
));
return $field;
}