public function RateLimitInterface::getLimit in RESTful 7.2
Get the rate limit. Returns the highest rate limit for the current account.
Parameters
object $account: The account object for the user making the request.
Return value
int The limit.
1 method overrides RateLimitInterface::getLimit()
- RateLimit::getLimit in src/
Plugin/ rate_limit/ RateLimit.php - Get the rate limit. Returns the highest rate limit for the current account.
File
- src/
Plugin/ rate_limit/ RateLimitInterface.php, line 44 - Contains \Drupal\restful\Plugin\rate_limit\RateLimitInterface
Class
Namespace
Drupal\restful\Plugin\rate_limitCode
public function getLimit($account = NULL);