You are here

public function RuleScheduleInterface::getAttempts in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/RuleScheduleInterface.php \Drupal\rng\Entity\RuleScheduleInterface::getAttempts()

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/Entity/RuleScheduleInterface.php, line 67

Class

RuleScheduleInterface
Provides an interface defining a rule scheduler entity.

Namespace

Drupal\rng\Entity

Code

public function getAttempts();