diff --git a/src/Models/EmailLink.php b/src/Models/EmailLink.php index 2a84053d..9c80e8da 100644 --- a/src/Models/EmailLink.php +++ b/src/Models/EmailLink.php @@ -45,7 +45,10 @@ public function getCMSCompositeValidator(): CompositeValidator public function getDescription(): string { - return $this->Email ?: ''; + $description = $this->Email ?: ''; + $this->extend('updateDescription', $description); + + return $description; } public function getURL(): string diff --git a/src/Models/ExternalLink.php b/src/Models/ExternalLink.php index 3ff49ddc..ae8b48e6 100644 --- a/src/Models/ExternalLink.php +++ b/src/Models/ExternalLink.php @@ -46,7 +46,10 @@ public function getCMSCompositeValidator(): CompositeValidator public function getDescription(): string { - return $this->ExternalUrl ?: ''; + $description = $this->ExternalUrl ?: ''; + $this->extend('updateDescription', $description); + + return $description; } public function getURL(): string diff --git a/src/Models/PhoneLink.php b/src/Models/PhoneLink.php index a89e9534..dd278ab8 100644 --- a/src/Models/PhoneLink.php +++ b/src/Models/PhoneLink.php @@ -40,7 +40,10 @@ public function getCMSCompositeValidator(): CompositeValidator public function getDescription(): string { - return $this->Phone ?: ''; + $description = $this->Phone ?: ''; + $this->extend('updateDescription', $description); + + return $description; } public function getURL(): string