You are here

function plugin_views_data_alter in Plugin 8.2

Implements hook_views_data_alter().

File

./plugin.module, line 39
Contains hook implementations.

Code

function plugin_views_data_alter(array &$data) {

  /** @var \Drupal\plugin\ViewsData $views_data */
  $views_data = \Drupal::service('plugin.views_data');
  $views_data
    ->alterViewsData($data);
}