Manager/ModuleManager.php
public function getCoreModulesByName()
    {
        $coreModules = $this->config->get('society.core.core.CoreModules');
        $coreModules = array_flip($coreModules);

        return collect($coreModules);
    }
public function getCoreModulesByName()
    {
        $coreModules = $this->config->get('society.core.core.CoreModules');
        $coreModules = array_flip($coreModules);

        return collect($coreModules);
    }
public function getCoreModulesByName ( ) { $ coreModules = $ this -> config -> get ( 'society.core.core.CoreModules' ) ; $ coreModules = array_flip ( $ coreModules ) ; return collect ( $ coreModules ) ; }
Get the core modules as an array of names.

@return array|mixed
Get the core modules as an array of names .