示例#1
0
 /**
  * Returns HTTP request query parameters for the current request.
  *
  * @see DrupalClient::getServerParameters()
  * @return array
  *   The parameters passed to the request
  */
 public function getRestParameters()
 {
     $data =& drupal_static(__FUNCTION__);
     if (isset($data)) {
         return $data;
     }
     $data = DrupalClient::getServerParameters();
     return $data;
 }