public function StockLocationViewsData::getViewsData in Commerce Stock 8
Returns views data for the entity type.
Return value
array Views data in the format of hook_views_data().
Overrides CommerceEntityViewsData::getViewsData
File
- modules/
local_storage/ src/ StockLocationViewsData.php, line 15
Class
- StockLocationViewsData
- Provides Views data for Stock Location entities.
Namespace
Drupal\commerce_stock_localCode
public function getViewsData() {
$data = parent::getViewsData();
// @todo join related tables.
return $data;
}