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