public function getAttributeLabel($attribute) { if (issetModule('formeditor')) { $label = FormDesigner::getLabelForm($attribute); return $label ? $label : parent::getAttributeLabel($attribute); } return parent::getAttributeLabel($attribute); }