protected function getOnlyArrayKeysWhereValueIsNotAnArray($inputArray)
    {
        $keysWithNonArrayValue = [];

        foreach ($inputArray as $key => $value) {
            if (is_array($value)) {
                // configuration for a content object, skipping
                continue;
            }

            $keysWithNonArrayValue[] = $key;
        }

        return $keysWithNonArrayValue;
    }
protected function getOnlyArrayKeysWhereValueIsNotAnArray($inputArray)
    {
        $keysWithNonArrayValue = [];

        foreach ($inputArray as $key => $value) {
            if (is_array($value)) {
                // configuration for a content object, skipping
                continue;
            }

            $keysWithNonArrayValue[] = $key;
        }

        return $keysWithNonArrayValue;
    }
protected function getOnlyArrayKeysWhereValueIsNotAnArray ( $ inputArray ) { $ keysWithNonArrayValue = [ ] ; foreach ( $ inputArray as $ key => $ value ) { if ( is_array ( $ value ) ) { // configuration for a content object, skipping continue ; } $ keysWithNonArrayValue [ ] = $ key ; } return $ keysWithNonArrayValue ; }
This method can be used to only retrieve array keys where the value is not an array.

This can be very handy in the configuration when only keys should ne taken into account
where the value is not a subconfiguration (typically an typoscript object path).

@param $inputArray
@return array
This method can be used to only retrieve array keys where the value is not an array .