public function RateLimitInterface::setLimit in RESTful 7.2
Set the rate limit.
Parameters
array $limits: The limits to set.
1 method overrides RateLimitInterface::setLimit()
- RateLimit::setLimit in src/
Plugin/ rate_limit/ RateLimit.php - Set the rate limit.
File
- src/
Plugin/ rate_limit/ RateLimitInterface.php, line 33 - Contains \Drupal\restful\Plugin\rate_limit\RateLimitInterface
Class
Namespace
Drupal\restful\Plugin\rate_limitCode
public function setLimit($limits);