You are here

function commerce_message_views_data_alter in Commerce Message 7

Implements hook_views_data_alter().

File

includes/views/commerce_message.views.inc, line 6

Code

function commerce_message_views_data_alter(&$data) {
  $data['message']['add'] = array(
    'title' => t('Add new message'),
    'help' => t('Display a form to add a new message.'),
    'area' => array(
      'handler' => 'commerce_message_handler_area_add_message',
    ),
  );
}