You are here

function panels_ipe_page_alter in Panels 7.3

Implementation of hook_footer().

Adds the IPE control container.

Parameters

unknown_type $main:

File

panels_ipe/panels_ipe.module, line 248

Code

function panels_ipe_page_alter(&$page) {
  $buttons =& drupal_static('panels_ipe_toolbar_buttons', array());
  if (empty($buttons)) {
    return;
  }
  $output = theme('panels_ipe_toolbar', array(
    'buttons' => $buttons,
  ));
  $page['page_bottom']['panels_ipe'] = array(
    '#markup' => $output,
  );
}