function name_get_instance_components in Name Field 7
Helper function to find the components used.
3 calls to name_get_instance_components()
- name_field_load in ./
name.module - Implements hook_field_load().
- _name_devel_generate in ./
name.devel_generate.inc - Callback function to generate name field instance data.
- _name_field_widget_form in includes/
name.content.inc - Implements hook_field_widget_form().
File
- ./
name.module, line 59 - Defines an API for displaying and inputing names.
Code
function name_get_instance_components($field_components, $instance_components) {
return array_filter($instance_components) ? $instance_components : $field_components;
}