You are here

function biblio_ui_views_data in Bibliography Module 7.3

Implements hook_views_data()

File

modules/biblio_ui/includes/views/biblio_ui.views.inc, line 6

Code

function biblio_ui_views_data() {
  $data['biblio']['created']['field']['handler'] = 'views_handler_field_date';
  $data['biblio']['changed']['field']['handler'] = 'views_handler_field_date';
  $data['biblio_contributor']['created']['field']['handler'] = 'views_handler_field_date';
  $data['biblio_contributor']['changed']['field']['handler'] = 'views_handler_field_date';
  $data['biblio']['delete'] = array(
    'title' => t('Delete'),
    'help' => t('Link to delete the biblio entry.'),
    'field' => array(
      'handler' => 'biblio_ui_handler_delete',
    ),
  );
  $data['biblio']['edit'] = array(
    'title' => t('Edit'),
    'help' => t('Link to edit the biblio entry.'),
    'field' => array(
      'handler' => 'biblio_ui_handler_edit',
    ),
  );
  $data['biblio_contributor']['delete'] = array(
    'title' => t('Delete'),
    'help' => t('Link to delete the biblio contributor entry.'),
    'field' => array(
      'handler' => 'biblio_contributor_ui_handler_delete',
    ),
  );
  $data['biblio_contributor']['edit'] = array(
    'title' => t('Edit'),
    'help' => t('Link to edit the biblio contributor entry.'),
    'field' => array(
      'handler' => 'biblio_contributor_ui_handler_edit',
    ),
  );
  $data['biblio']['biblio_export'] = array(
    'title' => t('Export links'),
    'help' => t('Provide UI for exporting Biblio.'),
    'area' => array(
      'handler' => 'biblio_ui_handler_export_area',
    ),
  );
  return $data;
}