/** * @param string $path * @param string|null $label * @param string|null $editor */ public function __construct($path, $label = null, $editor = null) { parent::__construct($path, $label); if (is_null($editor)) { $editor = WYSIWYGHelper::getDefaultHTMLEditorId(); } $this->setEditor($editor); }