Mercurial > hg > cmmr2012-drupal-site
view core/modules/media_library/media_library.views.inc @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | |
children |
line wrap: on
line source
<?php /** * @file * Contains Views integration for the media_library module. */ /** * Implements hook_views_data(). */ function media_library_views_data() { $data = []; $data['media']['media_library_select_form'] = [ 'title' => t('Select media'), 'help' => t('Provides a field for selecting media entities in our media library view'), 'real field' => 'mid', 'field' => [ 'id' => 'media_library_select_form', ], ]; return $data; }