You are here

function phonefield_field_item_create in Phone Field 7

Callback for creating a new, empty field item.

Return value

array

1 string reference to 'phonefield_field_item_create'
phonefield_field_property_info_callback in ./phonefield.module
Additional callback to adapt the property info of phonefield fields.

File

./phonefield.module, line 110
Hooks for a module that defines a simple phone number field type.

Code

function phonefield_field_item_create() {
  return array(
    'linklabel' => NULL,
    'phonenumber' => NULL,
  );
}