src/CoreBundle/DcGeneral/FallbackPropertyConditionFactory.php
public function supportsNesting($conditionType)
    {
        if (!isset($GLOBALS['METAMODELS']['inputscreen_conditions'][$conditionType]['nestingAllowed'])) {
            return null;
        }

        // @codingStandardsIgnoreStart Silencing errors is discouraged
        @trigger_error('Configuring input screen conditions via global array is deprecated. ' .
            'Please implement/configure a valid condition factory.', E_USER_DEPRECATED);
        // @codingStandardsIgnoreEnd

        return $GLOBALS['METAMODELS']['inputscreen_conditions'][$conditionType]['nestingAllowed'];
    }
public function supportsNesting($conditionType)
    {
        if (!isset($GLOBALS['METAMODELS']['inputscreen_conditions'][$conditionType]['nestingAllowed'])) {
            return null;
        }

        // @codingStandardsIgnoreStart Silencing errors is discouraged
        @trigger_error('Configuring input screen conditions via global array is deprecated. ' .
            'Please implement/configure a valid condition factory.', E_USER_DEPRECATED);
        // @codingStandardsIgnoreEnd

        return $GLOBALS['METAMODELS']['inputscreen_conditions'][$conditionType]['nestingAllowed'];
    }
Test if the passed type supports nesting.

@param string $conditionType The type name.

@return bool|null

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)