You are here

public function ParagraphSetViewsData::getViewsData in Paragraphs frontend ui 8

Returns views data for the entity type.

Return value

array Views data in the format of hook_views_data().

Overrides EntityViewsData::getViewsData

File

src/Entity/ParagraphSetViewsData.php, line 15

Class

ParagraphSetViewsData
Provides Views data for Paragraph set entities.

Namespace

Drupal\paragraphs_frontend_ui\Entity

Code

public function getViewsData() {
  $data = parent::getViewsData();

  // Additional information for Views integration, such as table joins, can be
  // put here.
  return $data;
}