function getExtraInfo() { if ($this->bypassEnableForm() or !$this->canEdit()) { $this->itemtype->actions['no_reenable'] = true; } parent::getExtraInfo(); }