function ds_test_ds_fields_info_alter in Display Suite 7
Same name and namespace in other branches
- 8.4 tests/modules/ds_test/ds_test.module \ds_test_ds_fields_info_alter()
- 8.2 tests/modules/ds_test/ds_test.module \ds_test_ds_fields_info_alter()
- 8.3 tests/modules/ds_test/ds_test.module \ds_test_ds_fields_info_alter()
- 7.2 tests/ds_test.module \ds_test_ds_fields_info_alter()
Implements hook_ds_fields_info_alter().
File
- tests/
ds_test.module, line 147 - Display Suite test module.
Code
function ds_test_ds_fields_info_alter(&$fields, $entity_type) {
if (isset($fields['ds_test_field_2'])) {
$fields['ds_test_field_2']['title'] = 'Field altered';
}
}