public function is_uninstall_allowed() {
        if ($this->name === 'upload' || $this->name === 'coursefiles' || $this->name === 'user' || $this->name === 'recent') {
            return false;
        } else {
            return true;
        }
    }
public function is_uninstall_allowed() {
        if ($this->name === 'upload' || $this->name === 'coursefiles' || $this->name === 'user' || $this->name === 'recent') {
            return false;
        } else {
            return true;
        }
    }
public function is_uninstall_allowed ( ) { if ( $ this -> name === 'upload' || $ this -> name === 'coursefiles' || $ this -> name === 'user' || $ this -> name === 'recent' ) { return false ; } else { return true ; } }
Defines if there should be a way to uninstall the plugin via the administration UI.
@return boolean
Defines if there should be a way to uninstall the plugin via the administration UI .