Example #1
0
 public function __construct(FormInterface &$form, LayoutParser $parser = NULL)
 {
     $this->setForm($form);
     if ($format !== NULL) {
         parent::setFormat($format);
     }
 }
Example #2
0
 public function __construct(ElementInterface &$element, $format = NULL)
 {
     $this->setElement($element);
     if ($format !== NULL) {
         parent::setFormat($format);
     }
 }