original_string: protected function get_userinfo_mapping() {
          $fields = user_field_mapping::get_records(['issuerid' => $this->issuer->get('id')]);
  
          $map = [];
          foreach ($fields as $field) {
              $map[$field->get('externalfield')] = $field->get('internalfield');
          }
          return $map;
      }
code: protected function get_userinfo_mapping() {
          $fields = user_field_mapping::get_records(['issuerid' => $this->issuer->get('id')]);
  
          $map = [];
          foreach ($fields as $field) {
              $map[$field->get('externalfield')] = $field->get('internalfield');
          }
          return $map;
      }
code_tokens: protected function get_userinfo_mapping ( ) { $ fields = user_field_mapping :: get_records ( [ 'issuerid' => $ this -> issuer -> get ( 'id' ) ] ) ; $ map = [ ] ; foreach ( $ fields as $ field ) { $ map [ $ field -> get ( 'externalfield' ) ] = $ field -> get ( 'internalfield' ) ; } return $ map ; }
docstring: Get a list of the mapping user fields in an associative array.
  
  @return array
docstring_tokens: Get a list of the mapping user fields in an associative array .