Verified Commit cfd12195 authored by Dave Long's avatar Dave Long
Browse files

Issue #3268838 by quietone, TR, smustgrave, xjm: Fix functions and test...

Issue #3268838 by quietone, TR, smustgrave, xjm: Fix functions and test modules for Drupal.Commenting.DocComment.ShortSingleLine

(cherry picked from commit 6629a163)
parent 4d996506
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -836,8 +836,7 @@ function hook_element_plugin_alter(array &$definitions) {
}

/**
 * Perform necessary alterations to the JavaScript before it is presented on
 * the page.
 * Alters JavaScript before it is presented on the page.
 *
 * @param $javascript
 *   An array of all JavaScript being presented on the page.
+1 −2
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@

/**
 * @file
 * Dummy module emptying comment titles to test for appropriate and accessible
 * markup in edge case scenarios where comments have empty titles.
 * Empties comment titles to test markup in edge case scenarios.
 */

/**
+1 −2
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@

/**
 * @file
 * Dummy module implementing comment related hooks to test API interaction with
 * the Comment module.
 * Implements comment-related hooks to test API interactions.
 */

use Drupal\comment\CommentInterface;
+3 −2
Original line number Diff line number Diff line
@@ -42,8 +42,9 @@ function file_test_reset() {
}

/**
 * Get the arguments passed to invocation of a given hook since
 * file_test_reset() was last called.
 * Gets the arguments passed to a given hook invocation.
 *
 * Arguments are gathered since file_test_reset() was last called.
 *
 * @param string $op
 *   One of the hook_file_* operations: 'load', 'validate', 'download',
+1 −2
Original line number Diff line number Diff line
@@ -253,8 +253,7 @@ function locale_translation_batch_status_build($projects = [], $langcodes = [])
}

/**
 * Helper function to construct batch operations checking remote translation
 * status.
 * Constructs batch operations for checking remote translation status.
 *
 * @param array $projects
 *   Array of project names to be processed.
Loading