You are here

protected function UserActivityActionHandler::messages in Activity 7

Return an array of message types.

Overrides ActivityActionHandler::messages

File

./activity_action_handlers.inc, line 737

Class

UserActivityActionHandler
Activity Action Handler for the user triggers.

Code

protected function messages() {
  $messages = parent::messages();
  if ($this->type == 'user_update') {
    $messages['current_user'] = array(
      'title' => 'Updating User',
      'description' => 'The user doing the updating',
    );
  }
  $messages['user'] = array(
    'title' => 'User Account',
    'description' => 'User account that the action is applied to',
  );
  return $messages;
}