Set the new value of this field.
Parameters
string $field:
mixed $value:
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php, line 108
Class
- PreUpdateEventArgs
- Class that holds event arguments for a preUpdate event.
Namespace
Doctrine\Common\Persistence\Event
Code
public function setNewValue($field, $value) {
$this
->assertValidField($field);
$this->entityChangeSet[$field][1] = $value;
}