core/lib/Drupal/Core/Ajax/AnnounceCommand.php | 3 +-- .../modules/ajax_forms_test/src/Form/AjaxFormsTestCommandsForm.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/lib/Drupal/Core/Ajax/AnnounceCommand.php b/core/lib/Drupal/Core/Ajax/AnnounceCommand.php index 3c612f7..e35a835 100644 --- a/core/lib/Drupal/Core/Ajax/AnnounceCommand.php +++ b/core/lib/Drupal/Core/Ajax/AnnounceCommand.php @@ -5,13 +5,12 @@ use Drupal\Core\Asset\AttachedAssets; /** - * AJAX command for a javascript Drupal.announce() call. + * AJAX command for a JavaScript Drupal.announce() call. * * @ingroup ajax */ class AnnounceCommand implements CommandInterface, CommandWithAttachedAssetsInterface { - /** * The text to be announced. * diff --git a/core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestCommandsForm.php b/core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestCommandsForm.php index c79e29a..2fd9222 100644 --- a/core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestCommandsForm.php +++ b/core/modules/system/tests/modules/ajax_forms_test/src/Form/AjaxFormsTestCommandsForm.php @@ -44,7 +44,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { ], ]; - // Shows the 'alert' command. + // Shows the 'announce' command. $form['announce_command_example'] = [ '#value' => $this->t("AJAX 'Announce': Click to announce"), '#type' => 'submit',