Added Organisation Relation entity with update hook to install it, bumped version

This commit is contained in:
2021-07-16 17:32:40 +02:00
parent 26d78a4f7f
commit d151b1744e
26 changed files with 950 additions and 1 deletions

View File

@ -0,0 +1,23 @@
<?php
namespace Drupal\opencase_entities\Entity;
use Drupal\views\EntityViewsData;
/**
* Provides Views data for Organisation Relation entities.
*/
class OCOrganisationRelationViewsData extends EntityViewsData {
/**
* {@inheritdoc}
*/
public function getViewsData() {
$data = parent::getViewsData();
// Additional information for Views integration, such as table joins, can be
// put here.
return $data;
}
}