You are here

public function Tracker::setViewsData in Menu Entity Index 8

Sets optional views data manager dependency, if available.

Parameters

\Drupal\views\ViewsData|null $views_data: The views data manager.

File

src/Tracker.php, line 168

Class

Tracker
Tracks menu links and their referenced entities.

Namespace

Drupal\menu_entity_index

Code

public function setViewsData($views_data) {
  $this->viewsData = $views_data;
}