src/Contao/View/Contao2BackendView/ActionHandler/MultipleHandler/OverrideAllHandler.php
private function handleOverrideCollection(
        Action $action,
        \ArrayObject $renderInformation,
        PropertyValueBagInterface $propertyValues = null,
        EnvironmentInterface $environment
    ) {
        if (!$propertyValues) {
            return;
        }

        $revertCollection = $this->getCollectionFromSession($action, $environment);
        $this->editCollection(
            $action,
            $this->getCollectionFromSession($action, $environment),
            $propertyValues,
            $renderInformation,
            $environment
        );
        if ($propertyValues->hasNoInvalidPropertyValues()) {
            $this->handleSubmit($action, $environment);
        }
        $this->revertValuesByErrors($action, $revertCollection, $environment);
    }
private function handleOverrideCollection(
        Action $action,
        \ArrayObject $renderInformation,
        PropertyValueBagInterface $propertyValues = null,
        EnvironmentInterface $environment
    ) {
        if (!$propertyValues) {
            return;
        }

        $revertCollection = $this->getCollectionFromSession($action, $environment);
        $this->editCollection(
            $action,
            $this->getCollectionFromSession($action, $environment),
            $propertyValues,
            $renderInformation,
            $environment
        );
        if ($propertyValues->hasNoInvalidPropertyValues()) {
            $this->handleSubmit($action, $environment);
        }
        $this->revertValuesByErrors($action, $revertCollection, $environment);
    }
private function handleOverrideCollection ( Action $ action , \ ArrayObject $ renderInformation , PropertyValueBagInterface $ propertyValues = null , EnvironmentInterface $ environment ) { if ( ! $ propertyValues ) { return ; } $ revertCollection = $ this -> getCollectionFromSession ( $ action , $ environment ) ; $ this -> editCollection ( $ action , $ this -> getCollectionFromSession ( $ action , $ environment ) , $ propertyValues , $ renderInformation , $ environment ) ; if ( $ propertyValues -> hasNoInvalidPropertyValues ( ) ) { $ this -> handleSubmit ( $ action , $ environment ) ; } $ this -> revertValuesByErrors ( $ action , $ revertCollection , $ environment ) ; }
Handle override of model collection.

@param Action                    $action            The action.
@param \ArrayObject              $renderInformation The render information.
@param PropertyValueBagInterface $propertyValues    The property values.
@param EnvironmentInterface      $environment       The environment.

@return void
Handle override of model collection .