public function ViewsDataHelper::__construct in Drupal 8
Same name and namespace in other branches
- 9 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;
}