Loading admin_toolbar_tools/src/Plugin/Menu/MenuLinkEntity.php +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ class MenuLinkEntity extends MenuLinkDefault { * {@inheritdoc} */ public function getDescription() { if (method_exists($this->entity, 'getDescription')) { if ($this->entity && method_exists($this->entity, 'getDescription')) { $description = $this->entity->getDescription(); } return $description ?? parent::getDescription(); Loading Loading
admin_toolbar_tools/src/Plugin/Menu/MenuLinkEntity.php +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ class MenuLinkEntity extends MenuLinkDefault { * {@inheritdoc} */ public function getDescription() { if (method_exists($this->entity, 'getDescription')) { if ($this->entity && method_exists($this->entity, 'getDescription')) { $description = $this->entity->getDescription(); } return $description ?? parent::getDescription(); Loading