You are here

public function PanelizerEntityTaxonomyTerm::init in Panelizer 7.3

Initialize the plugin and store the plugin info.

Overrides PanelizerEntityDefault::init

File

plugins/entity/PanelizerEntityTaxonomyTerm.class.php, line 18
Class for the Panelizer taxonomy term entity plugin.

Class

PanelizerEntityTaxonomyTerm
Panelizer Entity taxonomy term plugin class.

Code

public function init($plugin) {
  if (module_exists('taxonomy_revision')) {
    $this->supports_revisions = TRUE;
  }
  parent::init($plugin);
}