You are here

SitewideAlertViewsData.php in Sitewide Alert 8

File

src/Entity/SitewideAlertViewsData.php
View 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

Namesort descending Description
SitewideAlertViewsData Provides Views data for Sitewide Alert entities.