getHiddenModules() public static method

Fetches the hidden modules
public static getHiddenModules ( ) : string[]
return string[]
示例#1
0
 /**
  * Remove the hidden modules from the modules array
  *
  * @param array $modules The modules we wan't to clean up
  */
 protected function removeHiddenModules(&$modules)
 {
     foreach ($modules as $key => $module) {
         if (in_array($module, ForkInstaller::getHiddenModules())) {
             unset($modules[$key]);
         }
     }
 }