Neos.Neos/Classes/Fusion/DimensionsMenuItemsImplementation.php
protected function calculateTargetDimensionsForCombination(array $dimensionCombination)
    {
        $targetDimensions = [];
        foreach ($dimensionCombination as $dimensionName => $dimensionValues) {
            $targetDimensions[$dimensionName] = reset($dimensionValues);
        }

        return $targetDimensions;
    }
protected function calculateTargetDimensionsForCombination(array $dimensionCombination)
    {
        $targetDimensions = [];
        foreach ($dimensionCombination as $dimensionName => $dimensionValues) {
            $targetDimensions[$dimensionName] = reset($dimensionValues);
        }

        return $targetDimensions;
    }
protected function calculateTargetDimensionsForCombination ( array $ dimensionCombination ) { $ targetDimensions = [ ] ; foreach ( $ dimensionCombination as $ dimensionName => $ dimensionValues ) { $ targetDimensions [ $ dimensionName ] = reset ( $ dimensionValues ) ; } return $ targetDimensions ; }
Calculates the target dimensions for a given dimension combination.

@param array $dimensionCombination
@return array
Calculates the target dimensions for a given dimension combination .