You are here

public function HttpResponseHeadersRule::setRoles in HTTP Response Headers 7

Sets roles.

Parameters

string $roles: A comma separated string of user roles.

Return value

HttpResponseHeadersRule The processed object.

File

includes/http_response_headers.rule.inc, line 245
Class definitions for the HTTP response headers rule.

Class

HttpResponseHeadersRule
Defines HttpResponseHeadersRule

Code

public function setRoles($roles) {
  $this->roles = $roles;
  return $this;
}