Neos\ContentRepository\Domain\Service\ContextFactory::removeDeprecatedProperties PHP Method

removeDeprecatedProperties() protected method

Removes context properties which have been previously allowed but are not supported anymore and should be silently ignored
protected removeDeprecatedProperties ( array $contextProperties ) : array
$contextProperties array
return array
    protected function removeDeprecatedProperties(array $contextProperties)
    {
        if (isset($contextProperties['locale'])) {
            unset($contextProperties['locale']);
        }
        return $contextProperties;
    }