SitewideAlertViewsData.php in Sitewide Alert 8
Namespace
Drupal\sitewide_alert\EntityFile
src/Entity/SitewideAlertViewsData.phpView source
<?php
namespace Drupal\sitewide_alert\Entity;
use Drupal\views\EntityViewsData;
/**
* Provides Views data for Sitewide Alert entities.
*/
class SitewideAlertViewsData extends EntityViewsData {
/**
* {@inheritdoc}
*/
public function getViewsData() {
$data = parent::getViewsData();
// Additional information for Views integration, such as table joins, can be
// put here.
return $data;
}
}
Classes
Name | Description |
---|---|
SitewideAlertViewsData | Provides Views data for Sitewide Alert entities. |