Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Render / Element / Link.php
index 216f068a49d74a138f1b7804e2b34eab3ca10a06..25edc42c9810e4e5d285c8ac56f1d3b62c172c28 100644 (file)
@@ -12,15 +12,15 @@ use Drupal\Core\Url as CoreUrl;
  *
  * Properties:
  * - #title: The link text.
- * - #url: \Drupal\Url object containing URL information pointing to a internal
- *   or external link . See \Drupal\Core\Utility\LinkGeneratorInterface.
+ * - #url: \Drupal\Core\Url object containing URL information pointing to a
+ *   internal or external link. See \Drupal\Core\Utility\LinkGeneratorInterface.
  *
  * Usage example:
  * @code
  * $build['examples_link'] = [
  *   '#title' => $this->t('Examples'),
  *   '#type' => 'link',
- *   '#url' => Url::fromRoute('examples.description')
+ *   '#url' => \Drupal\Core\Url::fromRoute('examples.description')
  * ];
  * @endcode
  *