diff --git a/core/includes/common.inc b/core/includes/common.inc index 1b8dfe675f..20451e8ac0 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -721,14 +721,14 @@ function drupal_process_states(&$elements) { * to FALSE if the column should not be hidden. * - 'limit': (optional) Limit the maximum amount of parenting in this table. * - * @deprecated in Drupal 8.7.0 and will be removed in Drupal 9.0.0. Use + * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use * \Drupal\Core\Render\Element\Table::attachTabledrag() instead. * * @see https://www.drupal.org/node/3035565 * @see MenuForm::BuildOverviewForm() */ function drupal_attach_tabledrag(&$element, array $options) { - @trigger_error('drupal_attach_tabledrag() is deprecated in Drupal 8.7.0 and will be removed in Drupal 9.0.0. Use \Drupal\Core\Render\Element\Table::attachTabledrag() instead. See https://www.drupal.org/node/3035565', E_USER_DEPRECATED); + @trigger_error('drupal_attach_tabledrag() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Render\Element\Table::attachTabledrag() instead. See https://www.drupal.org/node/3035565', E_USER_DEPRECATED); Table::attachTabledrag($element, $options); } diff --git a/core/tests/Drupal/KernelTests/Core/Render/RendererLegacyTest.php b/core/tests/Drupal/KernelTests/Core/Render/RendererLegacyTest.php index 9402f42b11..f36763bed0 100644 --- a/core/tests/Drupal/KernelTests/Core/Render/RendererLegacyTest.php +++ b/core/tests/Drupal/KernelTests/Core/Render/RendererLegacyTest.php @@ -41,7 +41,7 @@ public function providerAttributes() { /** * Tests deprecation of the drupal_attach_tabledrag() function. * - * @expectedDeprecation drupal_attach_tabledrag() is deprecated in Drupal 8.7.0 and will be removed in Drupal 9.0.0. Use \Drupal\Core\Render\Element\Table::attachTabledrag() instead. See https://www.drupal.org/node/3035565 + * @expectedDeprecation drupal_attach_tabledrag() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Render\Element\Table::attachTabledrag() instead. See https://www.drupal.org/node/3035565 */ public function testTableDrag() { $elements = [];