source/Core/Module/ModuleMetadataValidator.php
public function getIncorrectExtensions(\OxidEsales\Eshop\Core\Module\Module $module)
    {
        $incorrect = [];
        $rawExtensions = $module->getExtensions();

        foreach ($rawExtensions as $classToBePatched => $moduleClass) {
            if (NamespaceInformationProvider::isNamespacedClass($classToBePatched)
                 && (NamespaceInformationProvider::classBelongsToShopEditionNamespace($classToBePatched)
                      || (NamespaceInformationProvider::classBelongsToShopUnifiedNamespace($classToBePatched) && !class_exists($classToBePatched))
                    )
                ) {
                $incorrect[$classToBePatched] = $moduleClass;
            }
        }
        return $incorrect;
    }
public function getIncorrectExtensions(\OxidEsales\Eshop\Core\Module\Module $module)
    {
        $incorrect = [];
        $rawExtensions = $module->getExtensions();

        foreach ($rawExtensions as $classToBePatched => $moduleClass) {
            if (NamespaceInformationProvider::isNamespacedClass($classToBePatched)
                 && (NamespaceInformationProvider::classBelongsToShopEditionNamespace($classToBePatched)
                      || (NamespaceInformationProvider::classBelongsToShopUnifiedNamespace($classToBePatched) && !class_exists($classToBePatched))
                    )
                ) {
                $incorrect[$classToBePatched] = $moduleClass;
            }
        }
        return $incorrect;
    }
public function getIncorrectExtensions ( \ OxidEsales \ Eshop \ Core \ Module \ Module $ module ) { $ incorrect = [ ] ; $ rawExtensions = $ module -> getExtensions ( ) ; foreach ( $ rawExtensions as $ classToBePatched => $ moduleClass ) { if ( NamespaceInformationProvider :: isNamespacedClass ( $ classToBePatched ) && ( NamespaceInformationProvider :: classBelongsToShopEditionNamespace ( $ classToBePatched ) || ( NamespaceInformationProvider :: classBelongsToShopUnifiedNamespace ( $ classToBePatched ) && ! class_exists ( $ classToBePatched ) ) ) ) { $ incorrect [ $ classToBePatched ] = $ moduleClass ; } } return $ incorrect ; }
Getter for possible incorrect extension info in metadata.php.
If the module patches a namespace class it must either belong to the shop
Unified Namespace or to another module.

@param \OxidEsales\Eshop\Core\Module\Module $module

@return array
Getter for possible incorrect extension info in metadata . php . If the module patches a namespace class it must either belong to the shop Unified Namespace or to another module .