function HandlerBase::getViewsData
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::getViewsData()
- 10 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::getViewsData()
- 11.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::getViewsData()
Gets views data service.
Return value
File
-
core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php, line 659
Class
- HandlerBase
- Base class for Views handler plugins.
Namespace
Drupal\views\Plugin\viewsCode
protected function getViewsData() {
if (!$this->viewsData) {
$this->viewsData = Views::viewsData();
}
return $this->viewsData;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.