Skip to content
Snippets Groups Projects
Commit 8d083177 authored by catch's avatar catch
Browse files

Issue #3153852 by clayfreeman, catch: Both component and core versions of...

Issue #3153852 by clayfreeman, catch: Both component and core versions of ContextAwarePluginBase need updated deprecation documentation
parent 1c63a97d
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,15 @@
use Drupal\Component\Plugin\Context\Context;
use Symfony\Component\Validator\ConstraintViolationList;
@trigger_error(__NAMESPACE__ . '\ContextAwarePluginBase is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0 without replacement. See https://www.drupal.org/node/3120980', E_USER_DEPRECATED);
/**
* Base class for plugins that are context aware.
*
* @deprecated in drupal:9.1.0 and is removed from drupal:10.0.0 without
* replacement.
*
* @see https://www.drupal.org/node/3120980
*/
abstract class ContextAwarePluginBase extends PluginBase implements ContextAwarePluginInterface {
......
......@@ -9,7 +9,7 @@
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\Core\TypedData\TypedDataTrait;
@trigger_error(__NAMESPACE__ . '\ContextAwarePluginBase is deprecated in drupal:9.1.0 and will be removed before drupal:10.0.0. Instead, use \Drupal\Core\Plugin\ContextAwarePluginTrait. See https://www.drupal.org/node/3120980', E_USER_DEPRECATED);
@trigger_error(__NAMESPACE__ . '\ContextAwarePluginBase is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Plugin\ContextAwarePluginTrait instead. See https://www.drupal.org/node/3120980', E_USER_DEPRECATED);
/**
* Base class for plugins that are context aware.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment