function drupal_get_query_array


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 drupal_get_query_array($query)
cle7 drupal_get_query_array($query)
elmsmedia7 drupal_get_query_array($query)
icor7 drupal_get_query_array($query)
meedjum_blog7 drupal_get_query_array($query)
mooc7 drupal_get_query_array($query)

Splits a URL-encoded query string into an array.


$query: The query string to split.

Return value

An array of URL decoded couples $param_name => $value.

Related topics

6 calls to drupal_get_query_array()
bakery_login_return in sites/all/modules/ulmus/bakery/bakery.module
Custom return for errors during slave login process.
locale_language_url_rewrite_session in includes/
Rewrite URLs for the Session language provider.
menu_edit_item_validate in modules/menu/
Validate form values for a menu link being added or edited.
page_manager_http_response_render in sites/all/modules/ulmus/ctools/page_manager/plugins/task_handlers/
system_update_7076 in modules/system/system.install
Convert menu_links query strings into arrays.

... See full list


includes/, line 457
Common functions that many Drupal modules will need to reference.


function drupal_get_query_array($query) {
  $result = array();
  if (!empty($query)) {
    foreach (explode('&', $query) as $param) {
      $param = explode('=', $param);
      $result[$param[0]] = isset($param[1]) ? rawurldecode($param[1]) : '';
  return $result;