diff --git a/core/lib/Drupal/Core/Action/ActionInterface.php b/core/lib/Drupal/Core/Action/ActionInterface.php index 61c39a4..9f0ff1c 100644 --- a/core/lib/Drupal/Core/Action/ActionInterface.php +++ b/core/lib/Drupal/Core/Action/ActionInterface.php @@ -64,7 +64,9 @@ public function executeMultiple(array $objects); public function access($object, AccountInterface $account = NULL, $return_as_object = FALSE); /** - * Arguments for FormattableMarkup for a the label. + * Gets FormattableMarkup arguments for the label. + * + * @see \Drupal\Component\Render\FormattableMarkup * * @return string[] */ diff --git a/core/modules/user/src/Tests/UserAdminTest.php b/core/modules/user/src/Tests/UserAdminTest.php index 43eca37..b028b5c 100644 --- a/core/modules/user/src/Tests/UserAdminTest.php +++ b/core/modules/user/src/Tests/UserAdminTest.php @@ -100,7 +100,7 @@ function testUserAdmin() { $edit = array('label' => $role_name, 'id' => '123'); $this->drupalPostForm('admin/people/roles/add', $edit, t('Save')); $this->drupalGet('admin/people'); - // Assert escaped correctly. + // Assert escaped and XSS filtered correctly. $this->assertEscaped("123 & alert('xss');more"); $this->assertNoRaw(""); $this->assertNoEscaped('&');