Neos\Neos\Ui\Domain\Service\StateRenderingService::computeStateInternally PHP Method

computeStateInternally() protected method

protected computeStateInternally ( &$adjustedState, $context )
    protected function computeStateInternally(&$adjustedState, $context)
    {
        foreach ($adjustedState as $key => &$value) {
            if (is_array($value)) {
                $this->computeStateInternally($value, $context);
            } elseif (is_string($value) && substr($value, 0, 2) === '${' && substr($value, -1) === '}') {
                $value = Utility::evaluateEelExpression($value, $this->eelEvaluator, $context, $this->defaultContext);
            }
        }
    }