public final function remap_icon_name($iconname, $component) {
        if ($this->map === null) {
            $this->map = $this->get_icon_name_map();
        }
        if ($component == null || $component == 'moodle') {
            $component = 'core';
        } else if ($component != 'theme') {
            $component = \core_component::normalize_componentname($component);
        }

        if (isset($this->map[$component . ':' . $iconname])) {
            return $this->map[$component . ':' . $iconname];
        }
        return false;
    }
public final function remap_icon_name($iconname, $component) {
        if ($this->map === null) {
            $this->map = $this->get_icon_name_map();
        }
        if ($component == null || $component == 'moodle') {
            $component = 'core';
        } else if ($component != 'theme') {
            $component = \core_component::normalize_componentname($component);
        }

        if (isset($this->map[$component . ':' . $iconname])) {
            return $this->map[$component . ':' . $iconname];
        }
        return false;
    }
public final function remap_icon_name ( $ iconname , $ component ) { if ( $ this -> map === null ) { $ this -> map = $ this -> get_icon_name_map ( ) ; } if ( $ component == null || $ component == 'moodle' ) { $ component = 'core' ; } else if ( $ component != 'theme' ) { $ component = \ core_component :: normalize_componentname ( $ component ) ; } if ( isset ( $ this -> map [ $ component . ':' . $ iconname ] ) ) { return $ this -> map [ $ component . ':' . $ iconname ] ; } return false ; }
Overridable function to map the icon name to something else.
Default is to do no mapping. Map is cached in the singleton.
Overridable function to map the icon name to something else . Default is to do no mapping . Map is cached in the singleton .