You are here

function panelizer_defaults_ui::init in Panelizer 7.3

Same name and namespace in other branches
  1. 7.2 plugins/export_ui/panelizer_defaults_ui.class.php \panelizer_defaults_ui::init()

Fake constructor -- this is easier to deal with than the real constructor because we are retaining PHP4 compatibility, which would require all child classes to implement their own constructor.

Overrides ctools_export_ui::init

File

plugins/export_ui/panelizer_defaults_ui.class.php, line 8
Contains the administrative UI for selectable panelizer defaults.

Class

panelizer_defaults_ui
@file Contains the administrative UI for selectable panelizer defaults.

Code

function init($plugin) {
  ctools_include('export');
  $this->plugin = $plugin;

  // Get rid of the list parent.
  unset($this->plugin['menu']['items']['list callback']);
}