MCPcopy Index your code
hub / github.com/MagicMirrorOrg/MagicMirror / getAllModules

Function getAllModules

js/loader.js:81–84  ·  view source on GitHub ↗

* Retrieve list of all modules. * @returns {object[]} module data as configured in config

()

Source from the content-addressed store, hash-verified

79 * @returns {object[]} module data as configured in config
80 */
81function getAllModules () {
82 const AllModules = config.modules.filter((module) => (module.module !== undefined) && (MM.getAvailableModulePositions.indexOf(module.position) > -1 || typeof (module.position) === "undefined"));
83 return AllModules;
84}
85
86/**
87 * Generate array with module information including module paths.

Callers 1

getModuleDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected