25 lines
		
	
	
		
			414 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			414 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace Drupal\opencase_entities\Entity;
 | |
| 
 | |
| use Drupal\views\EntityViewsData;
 | |
| 
 | |
| /**
 | |
|  * Provides Views data for Actor entities.
 | |
|  */
 | |
| class OCActorViewsData extends EntityViewsData {
 | |
| 
 | |
|   /**
 | |
|    * {@inheritdoc}
 | |
|    */
 | |
|   public function getViewsData() {
 | |
|     $data = parent::getViewsData();
 | |
| 
 | |
|     // Additional information for Views integration, such as table joins, can be
 | |
|     // put here.
 | |
| 
 | |
|     return $data;
 | |
|   }
 | |
| 
 | |
| }
 |