/**
  * @desc Constructs a FormFieldShortMultiLineTextEditor.
  * It has these options in addition to the AbstractFormField ones:
  * <ul>
  * 	<li>rows: the number of rows of the texarea</li>
  * 	<li>cols: the number of cols of the textarea</li>
  *  <li>width: the number pourcent of width of the textarea</li>
  * </ul>
  * @param string $id Field identifier
  * @param string $label Field label
  * @param string $value Default value
  * @param string[] $field_options Map containing the options
  * @param FormFieldConstraint[] $constraints The constraints checked during the validation
  */
 public function __construct($id, $label, $value, $field_options = array(), array $constraints = array())
 {
     parent::__construct($id, $label, $value, $field_options, $constraints);
 }
 /**
  * @desc Constructs a rich text edit field.
  * In addition to the parameters of the FormMultiLineEdit ones, there is the formatter which
  * is an instance of the ContentFormattingFactory which ensures the formatting. The default value
  * corresponds to the user's default configuration and will be the one to use 99% of the time.
  * @param string $id Field id
  * @param string $label Field label
  * @param string $value Default value
  * @param string[] $field_options options
  * @param FormFieldConstraint[] $constraints The constraints
  */
 public function __construct($id, $label, $value, array $field_options = array(), array $constraints = array())
 {
     $this->formatter = AppContext::get_content_formatting_service()->get_default_factory();
     parent::__construct($id, $label, '', $field_options, $constraints);
     $this->set_value($value);
 }