You are here

function acquia_agent_page_alter in Acquia Connector 7

Same name and namespace in other branches
  1. 7.3 acquia_agent/acquia_agent.module \acquia_agent_page_alter()
  2. 7.2 acquia_agent/acquia_agent.module \acquia_agent_page_alter()

Implement hook_page_alter().

File

acquia_agent/acquia_agent.module, line 50
Acquia Agent securely sends information to Acquia Network.

Code

function acquia_agent_page_alter(&$page) {
  if (isset($page['page_top']['toolbar']) && user_access('administer site configuration')) {
    $page['page_top']['toolbar']['#pre_render'][] = 'acquia_agent_toolbar_add_links';
  }
}