You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a clean install with localgov_base, there's this wording when creating an Alert banner ("If you don't write anything here, we will use: More information").
But looking at the banner on the site, I see no link at all:
The text was updated successfully, but these errors were encountered:
// Set default link text if field exists.if ($entity->hasField('link')) {
if ($entity->get('link')->title === '') {
$variables['content']['link'] = Link::fromTextAndUrl(t('More information'), Url::fromUri($entity->get('link')->uri))->toString();
}
}
@andybroomfield sort of. It's that the existing assignment to $variables['content']['link'] quoted above changes the render array to from a LinkItem to a GeneratedLink, I believe.
@petrillek just noticed this too. I'll create a PR in a few minutes.
On a clean install with localgov_base, there's this wording when creating an Alert banner ("If you don't write anything here, we will use: More information").
But looking at the banner on the site, I see no link at all:
The text was updated successfully, but these errors were encountered: