Loading src/Entity/MailerPolicy.php +8 −0 Changes for src/Entity/MailerPolicy.php: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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. * Loading Loading
src/Entity/MailerPolicy.php +8 −0 Changes for src/Entity/MailerPolicy.php: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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. * Loading