Backend modules · Question 6 of 12
Which keys are typically set for a module in Configuration/Backend/Modules.php?
3 answers are correct. Easy
Show answer
Answer
- A iconIdentifier for the module icon
- B access for the access level
- E parent for the parent module
Explanation
Modules.php returns an array in which each key is a module identifier, e.g. 'admin_myext' => ['parent' => 'admin', 'access' => 'admin', 'iconIdentifier' => 'myext-module', 'labels' => 'my_ext.modules.overview', ...]. parent places the module under a main module, access defines who may see it, and iconIdentifier refers to a registered icon. The label does not come from a menuTitle key but from the labels option. There is no switch for the frontend because backend modules never appear in the frontend.