You are here

function brightcove_entity_extra_field_info in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 brightcove.module \brightcove_entity_extra_field_info()
  2. 3.x brightcove.module \brightcove_entity_extra_field_info()

Implements hook_entity_extra_field_info().

File

./brightcove.module, line 162
Brightcove module.

Code

function brightcove_entity_extra_field_info() {
  $extra = [];
  $extra['brightcove_video']['brightcove_video']['display']['brightcove_video_player'] = [
    'label' => t('Video'),
    'description' => t('The video player'),
    'weight' => -1000,
    'visible' => TRUE,
  ];
  $extra['brightcove_video']['brightcove_video']['display']['brightcove_custom_fields'] = [
    'label' => t('Custom fields'),
    'description' => t('Video custom fields'),
    'weight' => 1000,
    'visible' => TRUE,
  ];
  $extra['brightcove_playlist']['brightcove_playlist']['display']['brightcove_playlist_video_player'] = [
    'label' => t('Playlist'),
    'description' => t('The playlist video player'),
    'weight' => -1000,
    'visible' => TRUE,
  ];
  return $extra;
}