diff --git a/includes/formatters/EventPresentationModel.php b/includes/formatters/EventPresentationModel.php index 0e8dd0b16..948232f23 100644 --- a/includes/formatters/EventPresentationModel.php +++ b/includes/formatters/EventPresentationModel.php @@ -143,6 +143,15 @@ abstract class EchoEventPresentationModel implements JsonSerializable { return $this->event->getCategory(); } + /** + * Get the distribution type + * + * @return string 'web' or 'email' + */ + final public function getDistributionType() { + return $this->distributionType; + } + /** * Equivalent to IContextSource::msg for the current * language