You are here

function message_views_data_alter in Message 8

Implements hook_views_data_alter().

File

./message.views.inc, line 11
Provide views data for message.module.

Code

function message_views_data_alter(&$data) {
  $data['message']['get_text'] = [
    'title' => t('Message text'),
    'help' => t('Get the message text'),
    'field' => [
      // ID of the area handler plugin to use.
      'id' => 'get_text',
    ],
  ];
}