public function OpignoNotification::getUrl in Opigno notifications 3.x
Same name and namespace in other branches
- 8 src/Entity/OpignoNotification.php \Drupal\opigno_notification\Entity\OpignoNotification::getUrl()
Get the notification url.
Return value
string The notification url.
Overrides OpignoNotificationInterface::getUrl
File
- src/
Entity/ OpignoNotification.php, line 260
Class
- OpignoNotification
- Defines the opigno_notification entity.
Namespace
Drupal\opigno_notification\EntityCode
public function getUrl() : string {
return $this
->get('url')
->getString() ?? '/notifications';
}