You are here

function mediafront_views_data in MediaFront 7.2

Same name and namespace in other branches
  1. 6.2 views/mediafront.views.inc \mediafront_views_data()
  2. 6 views/mediafront.views.inc \mediafront_views_data()
  3. 7 views/mediafront.views.inc \mediafront_views_data()

Implements hook_views_data()

File

views/mediafront.views.inc, line 137
mediafront.views.inc Built in plugins for Views output handling.

Code

function mediafront_views_data() {

  /**
   * Create an area handler for a media player within a view.
   */
  $data['views']['mediafront_player'] = array(
    'title' => t('MediaFront Player'),
    'help' => t('Add a media player to this view.'),
    'area' => array(
      'handler' => 'mediafront_handler_area_player',
    ),
  );
  return $data;
}