Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewsDataHelper.php

function 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\views

Code

public function __construct(ViewsData $views_data) {
    $this->data = $views_data;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal