core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php | 2 +- core/modules/menu_ui/src/Tests/MenuTest.php | 2 +- core/modules/system/system.routing.yml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php b/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php index 7a405fe..c77588a 100644 --- a/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php +++ b/core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php @@ -204,7 +204,7 @@ public function formElement(FieldItemListInterface $items, $delta, array $elemen // If the field is configured to allow both internal and external links, // show a useful description. elseif ($this->supportsExternalLinks() && $this->supportsInternalLinks()) { - $element['uri']['#description'] = $this->t('This can be an internal Drupal path such as %add-node or an external URL such as %drupal. Enter %front to link to the front page.', array('%front' => '', '%add-node' => '/node/add', '%drupal' => 'http://drupal.org')); + $element['uri']['#description'] = $this->t('This can be an internal Drupal path such as %add-node or an external URL such as %drupal. Enter %front to link to the front page.', array('%front' => '/', '%add-node' => '/node/add', '%drupal' => 'http://drupal.org')); } $element['title'] = array( diff --git a/core/modules/menu_ui/src/Tests/MenuTest.php b/core/modules/menu_ui/src/Tests/MenuTest.php index 07e00b8..c49af5e 100644 --- a/core/modules/menu_ui/src/Tests/MenuTest.php +++ b/core/modules/menu_ui/src/Tests/MenuTest.php @@ -665,7 +665,7 @@ function checkInvalidParentMenuLinks() { $parent = $last_link ? 'tools:' . $last_link->getPluginId() : 'tools:'; $title = 'title' . $i; $edit = array( - 'link[0][uri]' => '', + 'link[0][uri]' => '/', 'title[0][value]' => $title, 'menu_parent' => $parent, 'description[0][value]' => '', diff --git a/core/modules/system/system.routing.yml b/core/modules/system/system.routing.yml index 7c87bb9..fecfd249 100644 --- a/core/modules/system/system.routing.yml +++ b/core/modules/system/system.routing.yml @@ -382,7 +382,8 @@ system.theme_settings_theme: path: '' options: _only_fragment: TRUE - + requirements: + _access: 'TRUE' '': path: ''