FluidTYPO3\Flux\Form\AbstractFormField::remove PHP Method

remove() public method

public remove ( string $wizardName ) : FluidTYPO3\Flux\Form\WizardInterface | FALSE
$wizardName string
return FluidTYPO3\Flux\Form\WizardInterface | FALSE
    public function remove($wizardName)
    {
        foreach ($this->wizards as $wizard) {
            if ($wizardName === $wizard->getName()) {
                $this->wizards->detach($wizard);
                $this->wizards->rewind();
                $wizard->setParent(NULL);
                return $wizard;
            }
        }
        return FALSE;
    }