You are here

function privatemsg_privatemsg_view_template in Privatemsg 6

Same name and namespace in other branches
  1. 6.2 privatemsg.module \privatemsg_privatemsg_view_template()
  2. 7.2 privatemsg.module \privatemsg_privatemsg_view_template()
  3. 7 privatemsg.module \privatemsg_privatemsg_view_template()

Implements hook_privatemsg_view_template().

Allows modules to define different message view template.

This hook returns information about available themes for privatemsg viewing.

array( 'machine_template_name' => 'Human readable template name', 'machine_template_name_2' => 'Human readable template name 2' };

File

./privatemsg.module, line 408
Allows users to send private messages to other users.

Code

function privatemsg_privatemsg_view_template() {
  return array(
    'privatemsg-view' => 'Default view',
  );
}