By clayfreeman on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.1.x
Introduced in version:
9.1.0
Issue links:
Description:
A new trait, \Drupal\Core\Plugin\ContextAwarePluginTrait, has been introduced as a replacement for \Drupal\Component\Plugin\ContextAwarePluginBase and \Drupal\Core\Plugin\ContextAwarePluginBase which have been deprecated.
In addition to this change, passing context values to plugins via configuration has been deprecated. Instead, call ::setContextValue() on the plugin itself.
Impacts:
Module developers