original_string: public function get_config_var_name() {
  
          if ($this->componenttype === 'core') {
              // Core subsystems config in core_search and setting name using only [a-zA-Z0-9_]+.
              $parts = \core_search\manager::extract_areaid_parts($this->areaid);
              return array('core_search', $parts[0] . '_' . $parts[1]);
          }
  
          // Plugins config in the plugin scope.
          return array($this->componentname, 'search_' . $this->areaname);
      }
code: public function get_config_var_name() {
  
          if ($this->componenttype === 'core') {
              // Core subsystems config in core_search and setting name using only [a-zA-Z0-9_]+.
              $parts = \core_search\manager::extract_areaid_parts($this->areaid);
              return array('core_search', $parts[0] . '_' . $parts[1]);
          }
  
          // Plugins config in the plugin scope.
          return array($this->componentname, 'search_' . $this->areaname);
      }
code_tokens: public function get_config_var_name ( ) { if ( $ this -> componenttype === 'core' ) { // Core subsystems config in core_search and setting name using only [a-zA-Z0-9_]+. $ parts = \ core_search \ manager :: extract_areaid_parts ( $ this -> areaid ) ; return array ( 'core_search' , $ parts [ 0 ] . '_' . $ parts [ 1 ] ) ; } // Plugins config in the plugin scope. return array ( $ this -> componentname , 'search_' . $ this -> areaname ) ; }
docstring: Returns the config var name.
  
  It depends on whether it is a moodle subsystem or a plugin as plugin-related config should remain in their own scope.
  
  @access private
  @return string Config var path including the plugin (or component) and the varname
docstring_tokens: Returns the config var name .