Ganz Oben in Controller: use Drupal\Core\Link; use Drupal\Core\Url; In Funktion: $url = Url::fromUserInput('/path/to/content'); $link = Link::fromTextAndUrl(t('Link Title'), $url)->toString(); Drupal 8 Neuen Kommentar schreiben Ihr Name Betreff Comment Hilfe zum Textformat CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Leave this field blank
Neuen Kommentar schreiben