Skip to content

Commit

Permalink
feature - Upgrade Plugin Editor:Atto font size.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaoticDalo committed Oct 2, 2023
1 parent 9dae641 commit ba10fc8
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 9 deletions.
36 changes: 36 additions & 0 deletions lib/editor/atto/plugins/fontsize/classes/privacy/provider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

namespace atto_fontsize\privacy;

/**
* Privacy Subsystem for atto_fontsize implementing null_provider.
*
* @package atto_fontsize
* @copyright 2018 Andrew Nicols <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class provider implements \core_privacy\local\metadata\null_provider {
/**
* Get the language string identifier with the component's language
* file to explain why this plugin stores no data.
*
* @return string
*/
public static function get_reason(): string {
return 'privacy:metadata';
}
}
10 changes: 10 additions & 0 deletions lib/editor/atto/plugins/fontsize/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "andrewnicols/moodle-atto_fontsize",
"type": "moodle-atto",
"require": {
"composer/installers": "~1.0"
},
"extra": {
"installer-name": "fontsize"
}
}
1 change: 1 addition & 0 deletions lib/editor/atto/plugins/fontsize/lang/en/atto_fontsize.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@
*/

$string['pluginname'] = 'Font size';
$string['privacy:metadata'] = 'The atto_fontsize plugin does not store any personal data.';
2 changes: 1 addition & 1 deletion lib/editor/atto/plugins/fontsize/styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.atto_fontsize_button .dropdown-menu a {
line-height: normal;
line-height: normal;
}
2 changes: 1 addition & 1 deletion lib/editor/atto/plugins/fontsize/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2015042701; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2023091901; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2014050800; // Requires this Moodle version.
$plugin->component = 'atto_fontsize'; // Full name of the plugin (used for diagnostics).
$plugin->maturity = MATURITY_STABLE;
Expand Down

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ba10fc8

Please sign in to comment.