How can I create a content type in a custom module?
That hook is only run when the module is installed, maybe you added the hook during development of your module and when it was enabled?

The hook should be placed in a file called srl_dash.install.

Then disable your module and uninstall it, then enable it again. Now the hook will run.