Loading src/Plugin/field_group/FieldGroupFormatter/Link.php +4 −1 Original line number Diff line number Diff line Loading @@ -197,7 +197,10 @@ class Link extends FieldGroupFormatterBase implements ContainerFactoryPluginInte switch ($this->getSetting('target')) { case 'entity': /** @var EntityInterface $entity */ if (!$entity->isNew()) { $url = $entity->toUrl(); } break; case 'custom_uri': Loading Loading
src/Plugin/field_group/FieldGroupFormatter/Link.php +4 −1 Original line number Diff line number Diff line Loading @@ -197,7 +197,10 @@ class Link extends FieldGroupFormatterBase implements ContainerFactoryPluginInte switch ($this->getSetting('target')) { case 'entity': /** @var EntityInterface $entity */ if (!$entity->isNew()) { $url = $entity->toUrl(); } break; case 'custom_uri': Loading