You are here

function brightcove_cck_elements in Brightcove Video Connect 6

Same name and namespace in other branches
  1. 6.2 brightcove_cck/brightcove_cck.module \brightcove_cck_elements()

Implementation of hook_elements().

File

brightcove_cck/brightcove_cck.module, line 354
Brightcove CCK module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.

Code

function brightcove_cck_elements() {
  $elements = array(
    'brightcove_cck_browser' => array(
      '#input' => TRUE,
      '#columns' => array(
        'video_id',
      ),
      '#delta' => 0,
      '#process' => array(
        'brightcove_cck_browser_process',
      ),
      '#autocomplete_path' => FALSE,
    ),
    'brightcove_cck_browse_button' => array(
      '#input' => FALSE,
    ),
  );
  return $elements;
}