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

Breadcrumb

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

function EntityViewsDataInterface::getViewsData

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

1 method overrides EntityViewsDataInterface::getViewsData()
EntityViewsData::getViewsData in core/modules/views/src/EntityViewsData.php
Returns views data for the entity type.

File

core/modules/views/src/EntityViewsDataInterface.php, line 18

Class

EntityViewsDataInterface
Provides an interface to integrate an entity type with views.

Namespace

Drupal\views

Code

public function getViewsData();

API Navigation

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