Timeline for How do I hide a local task (tab) if a module is disabled?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 23, 2017 at 8:12 | comment | added | No Sssweat |
To add to @Berdir comment, You can enable verbose error logging by adding $config['system.logging']['error_level'] = 'verbose'; to your development environment settings.php file.
|
|
Apr 22, 2017 at 19:55 | answer | added | dbj44 | timeline score: 2 | |
Apr 21, 2017 at 17:40 | comment | added | Berdir | When developing, always enable verbose error logging, then you will get an error with the actual problem instead of useless wsod. One reason for that could be that the controller extends or uses something that statistics.module provides, AFAIK the controller class is still loaded, as the route still exists, it will just deny access at runtime. The safest option is to define the route dynamically. | |
Apr 21, 2017 at 7:10 | comment | added | No Sssweat |
This is a head scratcher, Did you clear the cache? Looks like you might have to use _custom_access: and do the module check logic in here...
|
|
Apr 21, 2017 at 6:45 | history | edited | dbj44 | CC BY-SA 3.0 |
added 75 characters in body
|
Apr 21, 2017 at 6:37 | history | asked | dbj44 | CC BY-SA 3.0 |