public function IntegrityViolationList::has in Rules 8.3
Returns whether the given offset exists.
Parameters
int $offset: The violation offset.
Return value
bool Whether the offset exists.
File
- src/
Engine/ IntegrityViolationList.php, line 59
Class
- IntegrityViolationList
- Collection of integrity violations.
Namespace
Drupal\rules\EngineCode
public function has($offset) {
return $this
->offsetExists($offset);
}