When I am disable module from admin side the effect of frontside is only hide content and enable then content show. I want to show that when I am disable the module 404 error comes.
I am creating some files like Block, Controller, etc, view, registration.php