You are here

function mediafront_views_data in MediaFront 7

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.2 views/mediafront.views.inc \mediafront_views_data()

Implementation of hook_views_data()

File

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

Code

function mediafront_views_data() {
  $data['views']['mediafront_player'] = array(
    'title' => t('Media Player'),
    'help' => t('Add a media player field to this view.'),
    'field' => array(
      'handler' => 'mediafront_handler_field_player',
      'click sortable' => FALSE,
    ),
  );
  return $data;
}