EepalRegionViewsData.php 585 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<?php

namespace Drupal\epalreadydata\Entity;

use Drupal\views\EntityViewsData;
use Drupal\views\EntityViewsDataInterface;

/**
 * Provides Views data for Eepal region entities.
 */
class EepalRegionViewsData extends EntityViewsData implements EntityViewsDataInterface {

  /**
   * {@inheritdoc}
   */
  public function getViewsData() {
    $data = parent::getViewsData();

19
	/*
20 21 22 23 24
    $data['eepal_region']['table']['base'] = array(
      'field' => 'id',
      'title' => $this->t('Eepal region'),
      'help' => $this->t('The Eepal region ID.'),
    );
25
	*/
26 27 28 29 30

    return $data;
  }

}