You are here

public function sweaver_plugin_toolbar::show_editor in Sweaver 7

Show editor

Overrides sweaver_plugin::show_editor

File

plugins/sweaver_plugin_toolbar/sweaver_plugin_toolbar.inc, line 61
Toolbar plugin.

Class

sweaver_plugin_toolbar
@file Toolbar plugin.

Code

public function show_editor() {
  return isset($_SESSION['sweaver_plugin_toolbar_session_on']) ? $_SESSION['sweaver_plugin_toolbar_session_on'] : variable_get('sweaver_plugin_toolbar_session_default_on', TRUE);
}