function views_test_data_field_views_data in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc \views_test_data_field_views_data()
Implements hook_field_views_data().
File
- core/
modules/ views/ tests/ modules/ views_test_data/ views_test_data.views_execution.inc, line 34 - Provides views data and hooks for views_test_data module.
Code
function views_test_data_field_views_data(FieldStorageConfigInterface $field_storage) {
\Drupal::state()
->set('views_hook_test_field_views_data', TRUE);
}