RadioactivityViewsData.php in Radioactivity 4.0.x
Namespace
Drupal\radioactivityFile
src/RadioactivityViewsData.phpView source
<?php
namespace Drupal\radioactivity;
use Drupal\views\EntityViewsData;
/**
* Provides the views data for the aggregator feed entity type.
*/
class RadioactivityViewsData extends EntityViewsData {
/**
* {@inheritdoc}
*/
public function getViewsData() {
$data = parent::getViewsData();
$data['radioactivity']['langcode']['title'] = $this
->t('Language');
// The radioactivity entity does not provide an entity view.
unset($data['radioactivity']['rendered_entity']);
return $data;
}
}
Classes
Name | Description |
---|---|
RadioactivityViewsData | Provides the views data for the aggregator feed entity type. |