You are here

function hook_restrict_ip_access_denied_page_alter in Restrict IP 7.2

Same name and namespace in other branches
  1. 8.2 restrict_ip.api.php \hook_restrict_ip_access_denied_page_alter()
  2. 8 restrict_ip.api.php \hook_restrict_ip_access_denied_page_alter()
  3. 3.x restrict_ip.api.php \hook_restrict_ip_access_denied_page_alter()

Alter the Restrict IP Access Denied page.

Parameters

array $page: The render array for the access deneid page passed by reference.

1 invocation of hook_restrict_ip_access_denied_page_alter()
restrict_ip_access_denied_page in includes/restrict_ip.pages.inc
Callback for path restrict_ip/access_denied.

File

./restrict_ip.api.php, line 40
Hooks provided by the Restrict IP module.

Code

function hook_restrict_ip_access_denied_page_alter(array &$page) {
  $page['additional_information'] = array(
    '#markup' => t('Additional information to be shown on the Restrict IP Access Denied page'),
    '#prefix' => '<p>',
    '#suffix' => '</p>',
  );
}