You are here

function brightcove_field_info in Brightcove Video Connect 7.7

Same name and namespace in other branches
  1. 7.6 brightcove.module \brightcove_field_info()

Implementation of hook_field_info().

File

./brightcove.module, line 401
Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.

Code

function brightcove_field_info() {
  return [
    'brightcove_field' => [
      'label' => t('Brightcove'),
      'description' => t('Browse and upload videos or playlists at Brightcove.'),
      'settings' => [],
      'instance_settings' => [],
      'default_widget' => BRIGHTCOVE_VIDEO_WIDGET,
      'default_formatter' => 'brightcove_default',
      'property_type' => 'brightcove_field',
      'property_callbacks' => [
        'brightcove_field_property_info_callback',
      ],
    ],
  ];
}