FormAssemblyEntityViewsData.php in FormAssembly 8
Namespace
Drupal\formassembly\EntityFile
src/Entity/FormAssemblyEntityViewsData.phpView source
<?php
namespace Drupal\formassembly\Entity;
use Drupal\views\EntityViewsData;
/**
* Provides Views data for FormAssembly Form entities.
*
* @author Shawn P. Duncan <code@sd.shawnduncan.org>
*
* Copyright 2018 by Shawn P. Duncan. This code is
* released under the GNU General Public License.
* Which means that it is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
* http://www.gnu.org/licenses/gpl.html
* @package Drupal\formassembly
*/
class FormAssemblyEntityViewsData 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 |
---|---|
FormAssemblyEntityViewsData | Provides Views data for FormAssembly Form entities. |