diff --git a/core/modules/action/src/Tests/BulkFormTest.php b/core/modules/action/src/Tests/BulkFormTest.php index 4e9846c..026bfe9 100644 --- a/core/modules/action/src/Tests/BulkFormTest.php +++ b/core/modules/action/src/Tests/BulkFormTest.php @@ -148,7 +148,8 @@ public function testBulkForm() { } $edit += array('action' => 'node_delete_action'); $this->drupalPostForm(NULL, $edit, t('Apply')); - // Make sure we don't show an action message while we are still on the confirmation page. + // Make sure we don't show an action message while we are still on the + // confirmation page. $this->assertNoText(t('Delete content was applied to 5 items.')); $this->drupalPostForm(NULL, array(), t('Delete')); $this->assertText(t('Deleted 5 posts.')); diff --git a/core/modules/system/src/Plugin/views/field/BulkForm.php b/core/modules/system/src/Plugin/views/field/BulkForm.php index 0adaa19..6c72c6f 100644 --- a/core/modules/system/src/Plugin/views/field/BulkForm.php +++ b/core/modules/system/src/Plugin/views/field/BulkForm.php @@ -293,7 +293,7 @@ public function viewsFormSubmit(&$form, FormStateInterface $form_state) { } else { // Don't display the message unless there are some elements affected and - // there is not a confirmation form. + // there is no confirmation form. $count = count(array_filter($form_state->getValue($this->options['id']))); if ($count) { drupal_set_message($this->formatPlural($count, '%action was applied to @count item.', '%action was applied to @count items.', array(