You are here

public function BundleItemOrderItemViewsData::getViewsData in Commerce Product Bundle 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/BundleItemOrderItemViewsData.php, line 15

Class

BundleItemOrderItemViewsData
Provides Views data for Bundle Item Order Item entities.

Namespace

Drupal\commerce_product_bundle\Entity

Code

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

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