public function RuleScheduleInterface::getAttempts in RNG - Events and Registrations 8
Returns number of times the rule has been triggered while in the queue.
The rule will attempt to execute until success, or reached maximum attempt cap.
Return value
int Number of attempts.
1 method overrides RuleScheduleInterface::getAttempts()
- RuleSchedule::getAttempts in src/
Entity/ RuleSchedule.php - Returns number of times the rule has been triggered while in the queue.
File
- src/
RuleScheduleInterface.php, line 67
Class
- RuleScheduleInterface
- Provides an interface defining a rule scheduler entity.
Namespace
Drupal\rngCode
public function getAttempts();