Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Menu/menu.api.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
448 * \Drupal\Core\Utility\LinkGeneratorInterface::generate(). If the link is a | 448 * \Drupal\Core\Utility\LinkGeneratorInterface::generate(). If the link is a |
449 * "route link", 'route_name' will be set; otherwise, 'path' will be set. | 449 * "route link", 'route_name' will be set; otherwise, 'path' will be set. |
450 * The following keys can be altered: | 450 * The following keys can be altered: |
451 * - text: The link text for the anchor tag. If the hook implementation | 451 * - text: The link text for the anchor tag. If the hook implementation |
452 * changes this text it needs to preserve the safeness of the original text. | 452 * changes this text it needs to preserve the safeness of the original text. |
453 * Using t() or \Drupal\Component\Utility\SafeMarkup::format() with | 453 * Using t() or \Drupal\Component\Render\FormattableMarkup with |
454 * @placeholder is recommended as this will escape the original text if | 454 * @placeholder is recommended as this will escape the original text if |
455 * necessary. If the resulting text is not marked safe it will be escaped. | 455 * necessary. If the resulting text is not marked safe it will be escaped. |
456 * - url_is_active: Whether or not the link points to the currently active | 456 * - url_is_active: Whether or not the link points to the currently active |
457 * URL. | 457 * URL. |
458 * - url: The \Drupal\Core\Url object. | 458 * - url: The \Drupal\Core\Url object. |