+ /**
+ * {@inheritdoc}
+ */
+ public function preUpdate(PreUpdateEventArgs $eventArgs) {
+ //Check that we have a civility instance
+ if (($user = $eventArgs->getEntity()) instanceof Civility) {
+ //Set updated value
+ $user->setUpdated(new \DateTime('now'));
+ }
+ }
+