You are here

protected function HandlerBase::getViewsData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::getViewsData()

Gets views data service.

Return value

\Drupal\views\ViewsData

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 655
Contains \Drupal\views\Plugin\views\HandlerBase.

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

protected function getViewsData() {
  if (!$this->viewsData) {
    $this->viewsData = Views::viewsData();
  }
  return $this->viewsData;
}