Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / media_library / media_library.views.inc
1 <?php
2
3 /**
4  * @file
5  * Contains Views integration for the media_library module.
6  */
7
8 /**
9  * Implements hook_views_data().
10  */
11 function media_library_views_data() {
12   $data = [];
13   $data['media']['media_library_select_form'] = [
14     'title' => t('Select media'),
15     'help' => t('Provides a field for selecting media entities in our media library view'),
16     'real field' => 'mid',
17     'field' => [
18       'id' => 'media_library_select_form',
19     ],
20   ];
21   return $data;
22 }