. /** * Squared theme. * * @package theme_squared * @copyright © 2019-onwards G J Barnard. * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; $functions = array( 'theme_squared_output_load_fontawesome_icon_map' => array( 'classname' => 'theme_squared\output\external', 'methodname' => 'load_fontawesome_icon_map', 'description' => 'Load the mapping of names to icons', 'type' => 'read', 'loginrequired' => false, 'ajax' => true ) ); $services = array( 'Squared theme FontAwesome map' => array( 'functions' => array ('theme_squared_output_load_fontawesome_icon_map'), 'restrictedusers' => 0, 'enabled' => 1 ) );