Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / media / src / MediaViewsData.php
1 <?php
2
3 namespace Drupal\media;
4
5 use Drupal\views\EntityViewsData;
6
7 /**
8  * Provides the Views data for the media entity type.
9  */
10 class MediaViewsData extends EntityViewsData {
11
12   /**
13    * {@inheritdoc}
14    */
15   public function getViewsData() {
16     $data = parent::getViewsData();
17
18     $data['media_field_data']['table']['wizard_id'] = 'media';
19     $data['media_field_revision']['table']['wizard_id'] = 'media_revision';
20
21     return $data;
22   }
23
24 }