diff core/modules/simpletest/simpletest.api.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/core/modules/simpletest/simpletest.api.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/simpletest/simpletest.api.php	Thu Feb 28 13:21:36 2019 +0000
@@ -13,10 +13,17 @@
 /**
  * Alter the list of tests.
  *
+ * This hook will not be invoked by the phpunit tool.
+ *
  * @param $groups
  *   A two dimensional array, the first key is the test group, the second is the
  *   name of the test class, and the value is in associative array containing
  *   'name', 'description', 'group', and 'requires' keys.
+ *
+ * @deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. Convert
+ *   your test to a PHPUnit-based one and implement test listeners.
+ *
+ * @see https://www.drupal.org/node/2939892
  */
 function hook_simpletest_alter(&$groups) {
   // An alternative session handler module would not want to run the original
@@ -55,7 +62,6 @@
 function hook_test_finished($results) {
 }
 
-
 /**
  * @} End of "addtogroup hooks".
  */