You are here

public function RateLimitInterface::generateIdentifier in RESTful 7.2

Generates an identifier for the event and the request.

Parameters

object $account: The account object for the user making the request.

Return value

string The ID.

1 method overrides RateLimitInterface::generateIdentifier()
RateLimit::generateIdentifier in src/Plugin/rate_limit/RateLimit.php
Generates an identifier for the event and the request.

File

src/Plugin/rate_limit/RateLimitInterface.php, line 70
Contains \Drupal\restful\Plugin\rate_limit\RateLimitInterface

Class

RateLimitInterface

Namespace

Drupal\restful\Plugin\rate_limit

Code

public function generateIdentifier($account = NULL);