You are here

public function WorkflowScheduledTransitionViewsData::getViewsData in Workflow 8

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

Overrides WorkflowTransitionViewsData::getViewsData

File

src/WorkflowScheduledTransitionViewsData.php, line 13

Class

WorkflowScheduledTransitionViewsData
Provides the views data for the workflow entity type.

Namespace

Drupal\workflow

Code

public function getViewsData() {
  $data = parent::getViewsData();

  // @todo D8-port: Add some data from D7 function workflow_views_views_data_alter() ??
  // @see http://cgit.drupalcode.org/workflow/tree/workflow_views/workflow_views.views.inc
  return $data;
}