function IntegrityViolation::setContextName

Overrides IntegrityViolationInterface::setContextName

File

src/Engine/IntegrityViolation.php, line 51

Class

IntegrityViolation
Holds information about an integrity violation in a Rules expression.

Namespace

Drupal\rules\Engine

Code

public function setContextName($context_name) {
    $this->contextName = $context_name;
    return $this;
}