Symfony\Component\Form\FormConfigBuilderInterface::setDataLocked
Locks the form's data to the data passed in the configuration.
A form with locked data is restricted to the data passed in this configuration. The data can only be modified then by submitting the form.
Signature
public function setDataLocked(Boolean
$locked )
Parameters
$locked
— object- Whether to lock the default data.
Returns
- self
- The configuration object.