如何使主题取决于模块?


9

我的主题要求功能完整之前必须安装多个模块。如何在主题中设置模块依赖性,以便当用户启用主题时,它还将启用所需的模块?到目前为止,我尝试在主题的.info文件中指定依赖项,但是没有成功:

dependencies[] = some_module

任何帮助深表感谢。


一个类似的关于有对模块的依赖性主题的问题,可以发现drupal.stackexchange.com/questions/83152/...
dayuloli

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.