function ViewsDataHelper::__construct
Same name in other branches
- 9 core/modules/views/src/ViewsDataHelper.php \Drupal\views\ViewsDataHelper::__construct()
- 8.9.x core/modules/views/src/ViewsDataHelper.php \Drupal\views\ViewsDataHelper::__construct()
- 10 core/modules/views/src/ViewsDataHelper.php \Drupal\views\ViewsDataHelper::__construct()
Constructs a ViewsData object.
Parameters
\Drupal\views\ViewsData $views_data: The views data object, containing the cached table information.
File
-
core/
modules/ views/ src/ ViewsDataHelper.php, line 32
Class
- ViewsDataHelper
- Defines a helper class for stuff related to views data.
Namespace
Drupal\viewsCode
public function __construct(ViewsData $views_data) {
$this->data = $views_data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.