From 3a7273c173f8b0fead50d2120559b5e80598037c Mon Sep 17 00:00:00 2001 From: Sadashiv Dalvi Date: Mon, 12 Feb 2024 21:11:40 +0530 Subject: [PATCH] Adding a raw value function to return value from values array --- src/Entity/CivicrmEntity.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Entity/CivicrmEntity.php b/src/Entity/CivicrmEntity.php index 5e1a9ae3..dcbeeafa 100644 --- a/src/Entity/CivicrmEntity.php +++ b/src/Entity/CivicrmEntity.php @@ -229,4 +229,8 @@ public function civicrmApiNormalize() { return $params; } + public function getRawValue($field) { + return $this->values[$field] ?? ''; + } + }