original_string: public function get_config() {
          list($componentname, $varname) = $this->get_config_var_name();
  
          $config = [];
          $settingnames = self::get_settingnames();
          foreach ($settingnames as $name) {
              $config[$varname . $name] = get_config($componentname, $varname . $name);
          }
  
          // Search areas are enabled by default.
          if ($config[$varname . '_enabled'] === false) {
              $config[$varname . '_enabled'] = 1;
          }
          return $config;
      }
code: public function get_config() {
          list($componentname, $varname) = $this->get_config_var_name();
  
          $config = [];
          $settingnames = self::get_settingnames();
          foreach ($settingnames as $name) {
              $config[$varname . $name] = get_config($componentname, $varname . $name);
          }
  
          // Search areas are enabled by default.
          if ($config[$varname . '_enabled'] === false) {
              $config[$varname . '_enabled'] = 1;
          }
          return $config;
      }
code_tokens: public function get_config ( ) { list ( $ componentname , $ varname ) = $ this -> get_config_var_name ( ) ; $ config = [ ] ; $ settingnames = self :: get_settingnames ( ) ; foreach ( $ settingnames as $ name ) { $ config [ $ varname . $ name ] = get_config ( $ componentname , $ varname . $ name ) ; } // Search areas are enabled by default. if ( $ config [ $ varname . '_enabled' ] === false ) { $ config [ $ varname . '_enabled' ] = 1 ; } return $ config ; }
docstring: Returns all the search area configuration.
  
  @return array
docstring_tokens: Returns all the search area configuration .