You are here

function panels_ipe_toolbar_add_button in Panels 7.3

Add a button to the IPE toolbar.

1 call to panels_ipe_toolbar_add_button()
panels_renderer_ipe::add_meta in panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php
Attach out-of-band page metadata (e.g., CSS and JS).

File

panels_ipe/panels_ipe.module, line 235

Code

function panels_ipe_toolbar_add_button($cache_key, $id, $button) {
  $buttons =& drupal_static('panels_ipe_toolbar_buttons', array());
  drupal_alter('panels_ipe_button', $button, $id, $cache_key);
  $buttons[$cache_key][$id] = $button;
}