You are here

function workbench_moderation_views_data in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 workbench_moderation.views.inc \workbench_moderation_views_data()
  2. 7.3 workbench_moderation.views.inc \workbench_moderation_views_data()
  3. 7 workbench_moderation.views.inc \workbench_moderation_views_data()

Implements hook_views_data().

File

./workbench_moderation.views.inc, line 11
Provide views data for workbench_moderation.module.

Code

function workbench_moderation_views_data() {

  /** @var \Drupal\workbench_moderation\ViewsData $workbench_moderation_views_data */
  $workbench_moderation_views_data = \Drupal::service('workbench_moderation.views_data');
  return $workbench_moderation_views_data
    ->getViewsData();
}