Hi everybody!
i'm new in SilverStripe and i'd like to know how i can get a List of Installed Modules in a site!
Thank you!
Fabio
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi everybody!
i'm new in SilverStripe and i'd like to know how i can get a List of Installed Modules in a site!
Thank you!
Fabio
If the site uses Composer then the list of modules will be in the Composer.json file. Otherwise, any folder in the root of the project will be a module. See http://doc.silverstripe.org/framework/en/topics/module-development for a introduction to what is classes a 'module' in SilverStripe.
global $manifest;
print_r( $manifest->getModules() );