protected function renderContent() { $this->registerCopyInfoFromMarketingListScript(); $this->registerRedactorHeightScript(); $this->registerSendTestEmailScriptsForEditView(); return parent::renderContent(); }
/** * Override set the description row size */ protected function resolveElementInformationDuringFormLayoutRender(&$elementInformation) { parent::resolveElementInformationDuringFormLayoutRender($elementInformation); if ($elementInformation['attributeName'] == 'description') { $elementInformation['rows'] = 2; } }
protected function renderContent() { $this->registerCopyInfoFromMarketingListScript(); $this->registerRedactorHeightScript(); return parent::renderContent(); }