You are here

OpignoAnswerViewsData.php in Opigno module 8

Same filename and directory in other branches
  1. 3.x src/Entity/OpignoAnswerViewsData.php

File

src/Entity/OpignoAnswerViewsData.php
View source
<?php

namespace Drupal\opigno_module\Entity;

use Drupal\views\EntityViewsData;

/**
 * Provides Views data for Answer entities.
 */
class OpignoAnswerViewsData 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
OpignoAnswerViewsData Provides Views data for Answer entities.