Generated module and Person entity
Changed "published" status of entity to "enabled". Removed author field from display
This commit is contained in:
24
modules/zencrm_entities/src/Entity/PersonViewsData.php
Normal file
24
modules/zencrm_entities/src/Entity/PersonViewsData.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\zencrm_entities\Entity;
|
||||
|
||||
use Drupal\views\EntityViewsData;
|
||||
|
||||
/**
|
||||
* Provides Views data for Person entities.
|
||||
*/
|
||||
class PersonViewsData extends EntityViewsData {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getViewsData() {
|
||||
$data = parent::getViewsData();
|
||||
|
||||
// Additional information for Views integration, such as table joins, can be
|
||||
// put here.
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user