@trigger_error('Passing context values to plugins via configuration is deprecated in drupal:9.1.0 and will be removed before drupal:10.0.0. Instead, call ::setContextValue() on the plugin itself. See https://www.drupal.org/node/3120980',E_USER_DEPRECATED);
@@ -60,6 +60,7 @@ public function createInstance($plugin_id, array $configuration = []) {
// If we receive any context values via config set it into the plugin.
if(!empty($configuration['context'])){
@trigger_error('Passing context values to plugins via configuration is deprecated in drupal:9.1.0 and will be removed before drupal:10.0.0. Instead, call ::setContextValue() on the plugin itself. See https://www.drupal.org/node/3120980',E_USER_DEPRECATED);
@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);