Neos\ContentRepository\Tests\Behavior\Features\Bootstrap\NodeOperationsTrait::resetContentDimensions PHP Method

resetContentDimensions() public method

public resetContentDimensions ( ) : void
return void
    public function resetContentDimensions()
    {
        if ($this->isolated === true) {
            $this->callStepInSubProcess(__METHOD__);
        } else {
            $contentDimensionRepository = $this->getObjectManager()->get(\Neos\ContentRepository\Domain\Repository\ContentDimensionRepository::class);
            /** @var \Neos\ContentRepository\Domain\Repository\ContentDimensionRepository $contentDimensionRepository */
            // Set the content dimensions to a fixed value for Behat scenarios
            $contentDimensionRepository->setDimensionsConfiguration(array('language' => array('default' => 'mul_ZZ')));
        }
    }