Contao\Config::getActiveModules PHP 메소드

getActiveModules() 공개 메소드

Return all active modules as array
사용 중단: Deprecated since Contao 4.0, to be removed in Contao 5.0. Use the container parameter "kernel.bundles" instead.
public getActiveModules ( ) : array
리턴 array An array of active modules
    public function getActiveModules()
    {
        @trigger_error('Using Config::getActiveModules() has been deprecated and will no longer work in Contao 5.0. Use the container parameter "kernel.bundles" instead.', E_USER_DEPRECATED);
        return \ModuleLoader::getActive();
    }