Exemple #1
0
 /**
  * Get all rendering options
  *
  * @return array associative array of rendering options
  * @api
  */
 public function getRenderingOptions()
 {
     return $this->formDefinition->getRenderingOptions();
 }
Exemple #2
0
 /**
  * @test
  */
 public function constructorSetsRenderingOptions()
 {
     $formDefinition = new FormDefinition('myForm', array('formElementTypes' => array('TYPO3.Form:Form' => array('renderingOptions' => array('foo' => 'bar', 'baz' => 'test')))));
     $this->assertSame(array('foo' => 'bar', 'baz' => 'test'), $formDefinition->getRenderingOptions());
 }