function hook_ds_fields_info_alter in Display Suite 8.2
Same name and namespace in other branches
- 8.4 ds.api.php \hook_ds_fields_info_alter()
- 8.3 ds.api.php \hook_ds_fields_info_alter()
- 7.2 ds.api.php \hook_ds_fields_info_alter()
- 7 ds.api.php \hook_ds_fields_info_alter()
Modify the list of available ds field plugins.
This hook may be used to modify plugin properties after they have been specified by other modules.
Parameters
array $plugins: An array of all the existing plugin definitions, passed by reference.
See also
\Drupal\views\Plugin\DsPluginManager
1 function implements hook_ds_fields_info_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- ds_test_ds_fields_info_alter in tests/
modules/ ds_test/ ds_test.module - Implements hook_ds_fields_info_alter().
1 invocation of hook_ds_fields_info_alter()
- DsPluginManager::__construct in src/
Plugin/ DsPluginManager.php - Constructs a new \Drupal\ds\Plugin\Type\DsPluginManager object.
File
- ./
ds.api.php, line 24 - Hooks provided by Display Suite module.
Code
function hook_ds_fields_info_alter(array &$plugins) {
$plugins['node_title']['title'] = t('My title');
}