Loading core/lib/Drupal/Core/Entity/EntityInterface.php +3 −3 Original line number Diff line number Diff line Loading @@ -136,9 +136,9 @@ public function toUrl($rel = 'canonical', array $options = []); /** * Generates the HTML for a link to this entity. * * @param string|null $text * (optional) The link text for the anchor tag as a translated string. * If NULL, it will use the entity's label. Defaults to NULL. * @param string|null|array|\Drupal\Component\Render\MarkupInterface $text * (optional) The link text for the anchor tag as a translated string or * render array. If NULL, it will use the entity's label. Defaults to NULL. * @param string $rel * (optional) The link relationship type. Defaults to 'canonical'. * @param array $options Loading Loading
core/lib/Drupal/Core/Entity/EntityInterface.php +3 −3 Original line number Diff line number Diff line Loading @@ -136,9 +136,9 @@ public function toUrl($rel = 'canonical', array $options = []); /** * Generates the HTML for a link to this entity. * * @param string|null $text * (optional) The link text for the anchor tag as a translated string. * If NULL, it will use the entity's label. Defaults to NULL. * @param string|null|array|\Drupal\Component\Render\MarkupInterface $text * (optional) The link text for the anchor tag as a translated string or * render array. If NULL, it will use the entity's label. Defaults to NULL. * @param string $rel * (optional) The link relationship type. Defaults to 'canonical'. * @param array $options Loading