function hook_field_views_data
Override the default data for a Field API field.
Field module's Implements hook_views_data() invokes this for each field in the module that defines the field type (as declared in the field array). It is not invoked in other modules.
If no hook implementation exists, hook_views_data() falls back to field_views_field_default_views_data().
Parameters
array $field: A field definition array, as returned by field_info_fields().
Return value
array An array of views data, in the same format as the return value of hook_views_data().
See also
hook_field_views_data_views_data_alter()
Related topics
4 functions implement hook_field_views_data()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- file_field_views_data in modules/
file.views.inc - Implements hook_field_views_data().
- image_field_views_data in modules/
image.views.inc - Implements hook_field_views_data().
- list_field_views_data in modules/
field.views.inc - Have a different filter handler for lists.
- taxonomy_field_views_data in modules/
taxonomy.views.inc - Implements hook_field_views_data().
1 invocation of hook_field_views_data()
- field_views_data in modules/
field.views.inc - Implements hook_views_data().
File
-
./
views.api.php, line 547
Code
function hook_field_views_data($field) {
return array();
}