You are here

function ds_test_ds_fields_info_alter in Display Suite 7

Same name and namespace in other branches
  1. 8.4 tests/modules/ds_test/ds_test.module \ds_test_ds_fields_info_alter()
  2. 8.2 tests/modules/ds_test/ds_test.module \ds_test_ds_fields_info_alter()
  3. 8.3 tests/modules/ds_test/ds_test.module \ds_test_ds_fields_info_alter()
  4. 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';
  }
}