. /** * Theme moove functions and service definitions. * * @package theme_moove * @copyright 2019 Willian Mano - http://conecti.me * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); $functions = array( 'theme_moove_fontsize' => array( 'classname' => 'theme_moove\api\accessibility', 'classpath' => 'theme_moove/classes/api/accessibility.php', 'methodname' => 'fontsize', 'description' => 'Increase or decrease the site font size.', 'type' => 'write', 'ajax' => true ), 'theme_moove_sitecolor' => array( 'classname' => 'theme_moove\api\accessibility', 'methodname' => 'sitecolor', 'description' => 'Changes the site color aspect.', 'type' => 'write', 'ajax' => true ), 'theme_moove_savethemesettings' => array( 'classname' => 'theme_moove\api\accessibility', 'methodname' => 'savethemesettings', 'description' => 'Store the user theme settings.', 'type' => 'write', 'ajax' => true ), 'theme_moove_getthemesettings' => array( 'classname' => 'theme_moove\api\accessibility', 'methodname' => 'getthemesettings', 'description' => 'Get the user theme settings.', 'type' => 'read', 'ajax' => true ) );