original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Overridable function to map the icon name to something else.
  Default is to do no mapping. Map is cached in the singleton.
docstring_tokens: Overridable function to map the icon name to something else . Default is to do no mapping . Map is cached in the singleton .