Neos\Neos\TypoScript\DimensionsMenuImplementation::getNodeInDimensions PHP 메소드

getNodeInDimensions() 보호된 메소드

If it doesn't exist the method returns null.
protected getNodeInDimensions ( array $dimensions, array $targetDimensions ) : Neos\ContentRepository\Domain\Model\NodeInterface | null
$dimensions array
$targetDimensions array
리턴 Neos\ContentRepository\Domain\Model\NodeInterface | null
    protected function getNodeInDimensions(array $dimensions, array $targetDimensions)
    {
        $q = new FlowQuery([$this->currentNode]);
        return $q->context(['dimensions' => $dimensions, 'targetDimensions' => $targetDimensions])->get(0);
    }