public function setInputArgument($inputName, $property, $data)
    {
        if ($this->schema->has($inputName)) {
            // Get the element and force set the property
            $element = $this->schema->get($inputName);
            $element['form'][$property] = $data;

            // Push back the modifyed element in the schema
            $this->schema->set($inputName, $element);
        }
    }
public function setInputArgument($inputName, $property, $data)
    {
        if ($this->schema->has($inputName)) {
            // Get the element and force set the property
            $element = $this->schema->get($inputName);
            $element['form'][$property] = $data;

            // Push back the modifyed element in the schema
            $this->schema->set($inputName, $element);
        }
    }
public function setInputArgument ( $ inputName , $ property , $ data ) { if ( $ this -> schema -> has ( $ inputName ) ) { // Get the element and force set the property $ element = $ this -> schema -> get ( $ inputName ) ; $ element [ 'form' ] [ $ property ] = $ data ; // Push back the modifyed element in the schema $ this -> schema -> set ( $ inputName , $ element ) ; } }
Function used to overwrite the input argument from a schema file
Can also be used to overwrite an argument hardcoded in the Twig file.
Use `setCustomFormData` to set any other tag.

@param string $inputName The input name where the argument will be added
@param string $property  The argument name. Example "data-color"
@param string $data      The value of the argument

@return void
Function used to overwrite the input argument from a schema file Can also be used to overwrite an argument hardcoded in the Twig file . Use setCustomFormData to set any other tag .