diff --git a/core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php b/core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php index 598bbcecfa5da983b5903eb729807f97dc7bfd6d..35818717cc60fddc280d91ede9404425206a1832 100644 --- a/core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php +++ b/core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php @@ -120,8 +120,11 @@ public function entityQueryAlter(SelectInterface $query) {} * @param array $configuration * The configuration array to be altered. * - * @deprecated Scheduled for removal in Drupal 9.0.x. + * @internal * + * @todo Remove this method call and its method in Drupal 9. + * + * @see https://www.drupal.org/project/drupal/issues/3069757 * @see https://www.drupal.org/node/2870971 */ protected function resolveBackwardCompatibilityConfiguration(array &$configuration) { @@ -134,7 +137,7 @@ protected function resolveBackwardCompatibilityConfiguration(array &$configurati if (!is_array($configuration['handler_settings'])) { throw new \InvalidArgumentException("The setting 'handler_settings' is reserved and cannot be used."); } - @trigger_error("Providing settings under 'handler_settings' is deprecated and will be removed before 9.0.0. Move the settings in the root of the configuration array. See https://www.drupal.org/node/2870971.", E_USER_DEPRECATED); + @trigger_error("Providing settings under 'handler_settings' is deprecated in drupal:8.4.0 support for 'handler_settings' is removed from drupal:9.0.0. Move the settings in the root of the configuration array. See https://www.drupal.org/node/2870971", E_USER_DEPRECATED); // Settings passed in the root level take precedence over BC settings. $configuration += $configuration['handler_settings']; @@ -145,8 +148,11 @@ protected function resolveBackwardCompatibilityConfiguration(array &$configurati /** * Ensures a backward compatibility level configuration. * - * @deprecated Scheduled for removal in Drupal 9.0.x. + * @internal + * + * @todo Remove this method call and its method in Drupal 9. * + * @see https://www.drupal.org/project/drupal/issues/3069757 * @see https://www.drupal.org/node/2870971 */ protected function ensureBackwardCompatibilityConfiguration() { diff --git a/core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php b/core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php index 92eeb87a0d5e1213fd165cccdd1650bad80f03a5..c742f129ef00ecb5f16b6e9a924d0d3736943477 100644 --- a/core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php +++ b/core/tests/Drupal/Tests/Core/EntityReferenceSelection/EntityReferenceSelectionUnitTest.php @@ -189,7 +189,7 @@ public function testSetConfigurationBcLevel() { * * @covers ::setConfiguration * @covers ::resolveBackwardCompatibilityConfiguration - * @expectedDeprecation Providing settings under 'handler_settings' is deprecated and will be removed before 9.0.0. Move the settings in the root of the configuration array. See https://www.drupal.org/node/2870971. + * @expectedDeprecation Providing settings under 'handler_settings' is deprecated in drupal:8.4.0 support for 'handler_settings' is removed from drupal:9.0.0. Move the settings in the root of the configuration array. See https://www.drupal.org/node/2870971 */ public function testDeprecationErrorTriggering() { // Configuration with BC level.