You are here

function rocket_chat_page_alter in Rocket.Chat 7

Same name and namespace in other branches
  1. 7.2 rocket_chat.module \rocket_chat_page_alter()

Implements hook_page_alter().

Parameters

$page: Current Render array for a page.

See also

\hook_page_alter()

File

./rocket_chat.module, line 21
Rocket.Chat Livechat Module.

Code

function rocket_chat_page_alter(&$page) {

  // Make sure the Included class File is loaded.
  module_load_include('class.inc', 'rocket_chat', 'RocketChat');
  RocketChat::hookPageAlter($page);
}