src/View/ActionHandler/AbstractPropertyOverrideEditAllHandler.php
protected function updateErrorInformation(
        \ArrayObject $renderInformation
    ) {
        $modelError = $renderInformation->offsetGet('modelError');

        if (null === $modelError) {
            return;
        }

        $error = [];
        foreach (\array_keys($modelError) as $modelId) {
            $error[] = \sprintf(
                '<strong><a href="%s#pal_%s">%s</a></strong>',
                Environment::get('request'),
                \str_replace('::', '____', $modelId),
                $modelId
            );

            foreach ($modelError[$modelId] as $modelIdErrors) {
                foreach ($modelIdErrors as $modelIdError) {
                    $error[] = $modelIdError;
                }
            }

            if (\count($modelError) > 1) {
                $error[] = '';
            }
        }

        $renderInformation->offsetSet('error', \array_merge($renderInformation->offsetGet('error'), $error));
    }
protected function updateErrorInformation(
        \ArrayObject $renderInformation
    ) {
        $modelError = $renderInformation->offsetGet('modelError');

        if (null === $modelError) {
            return;
        }

        $error = [];
        foreach (\array_keys($modelError) as $modelId) {
            $error[] = \sprintf(
                '<strong><a href="%s#pal_%s">%s</a></strong>',
                Environment::get('request'),
                \str_replace('::', '____', $modelId),
                $modelId
            );

            foreach ($modelError[$modelId] as $modelIdErrors) {
                foreach ($modelIdErrors as $modelIdError) {
                    $error[] = $modelIdError;
                }
            }

            if (\count($modelError) > 1) {
                $error[] = '';
            }
        }

        $renderInformation->offsetSet('error', \array_merge($renderInformation->offsetGet('error'), $error));
    }
protected function updateErrorInformation ( \ ArrayObject $ renderInformation ) { $ modelError = $ renderInformation -> offsetGet ( 'modelError' ) ; if ( null === $ modelError ) { return ; } $ error = [ ] ; foreach ( \ array_keys ( $ modelError ) as $ modelId ) { $ error [ ] = \ sprintf ( '<strong><a href="%s#pal_%s">%s</a></strong>' , Environment :: get ( 'request' ) , \ str_replace ( '::' , '____' , $ modelId ) , $ modelId ) ; foreach ( $ modelError [ $ modelId ] as $ modelIdErrors ) { foreach ( $ modelIdErrors as $ modelIdError ) { $ error [ ] = $ modelIdError ; } } if ( \ count ( $ modelError ) > 1 ) { $ error [ ] = '' ; } } $ renderInformation -> offsetSet ( 'error' , \ array_merge ( $ renderInformation -> offsetGet ( 'error' ) , $ error ) ) ; }
Update the error information.

@param \ArrayObject $renderInformation The render information.

@return void
Update the error information .