You are here

function brightcove_field_element_info in Brightcove Video Connect 7.5

Same name and namespace in other branches
  1. 7.2 brightcove_field/brightcove_field.module \brightcove_field_element_info()
  2. 7.3 brightcove_field/brightcove_field.module \brightcove_field_element_info()
  3. 7.4 brightcove_field/brightcove_field.module \brightcove_field_element_info()

Implements hook_element_info().

File

brightcove_field/brightcove_field.module, line 737
Brightcove field module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.

Code

function brightcove_field_element_info() {
  $elements = array(
    'brightcove_field_browser' => array(
      '#input' => TRUE,
      '#columns' => array(
        'brightcove_id',
      ),
      '#delta' => 0,
      '#process' => array(
        'brightcove_field_browser_process',
      ),
      '#autocomplete_path' => FALSE,
    ),
    'brightcove_field_browse_button' => array(
      '#input' => FALSE,
    ),
  );
  return $elements;
}