• Mihail Geshoski's avatar
    MDL-74584 admin: Add callback executed prior to enabling a module · 4a55d6eb
    Mihail Geshoski authored
    Adds a callback xxx_pre_enable_plugin_actions in admin/modules.php
    which plugins can use to force additional actions before enabling the
    plugin. The return value (bool) from the plugin callback method
    specifies whether the process of enabling the plugin should continue
    after the added actions or not.