. /** * Subplugin info class. * * @package mod_customcert * @copyright 2013 Mark Nelson * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace mod_customcert\plugininfo; use core\plugininfo\base; defined('MOODLE_INTERNAL') || die(); class customcertelement extends base { /** * Do not allow users to uninstall these plugins as it could cause customcerts to break. * * @return bool */ public function is_uninstall_allowed() { return false; } }