You are here

protected function CommentActivityActionHandler::messages in Activity 7

Return an array of message types.

Overrides NodeActivityActionHandler::messages

File

./activity_action_handlers.inc, line 656

Class

CommentActivityActionHandler
Activity handler for the comment module. Extends the node handler has it presents a lot of the same things, just more.

Code

protected function messages() {
  $messages = parent::messages();
  $messages['comment'] = array(
    'title' => 'Comment Author',
    'description' => 'The author of the comment',
  );
  $messages['node_comment'] = array(
    'title' => 'Comment and Node Author',
    'description' => 'When both the comment and the node author are the same display this message',
  );
  return $messages;
}