Skip to content
Snippets Groups Projects
Commit 14ec3d43 authored by Adam Shepherd's avatar Adam Shepherd
Browse files

Issue #3269614 by lamp5, AdamPS: Policy label is always empty for generic drupal mails

parent dfccf928
Branches
Tags
No related merge requests found
......@@ -184,6 +184,14 @@ class MailerPolicy extends ConfigEntityBase implements EntityWithPluginCollectio
return $this->entityId ? $this->labelUnknown : $this->labelAll;
}
/**
* {@inheritdoc}
*/
public function label() {
$labels = [$this->getTypeLabel(), $this->getSubTypeLabel(), $this->getEntityLabel()];
return implode(' » ', array_filter($labels));
}
/**
* Sets the email adjuster configuration for this policy record.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment