function views_test_data_field_views_data_alter
Same name in other branches
- 9 core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc \views_test_data_field_views_data_alter()
- 8.9.x core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc \views_test_data_field_views_data_alter()
- 11.x core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc \views_test_data_field_views_data_alter()
Implements hook_field_views_data_alter().
File
-
core/
modules/ views/ tests/ modules/ views_test_data/ views_test_data.views_execution.inc, line 41
Code
function views_test_data_field_views_data_alter(&$data, FieldStorageConfigInterface $field_storage, $module) {
\Drupal::state()->set('views_hook_test_field_views_data_alter', TRUE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.