Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291469

Convert ContextAwarePluginBase to traits

$
0
0

Problem/Motivation

#2272801: Allow blocks to be context aware. allows classes extending BlockBase to also be context-aware.
However, this shouldn't be needed, since many different plugins should be able to opt into context without breaking their parent class relationship

Proposed resolution

Figure out a way to make a ContextAwarePluginTrait.

Remaining tasks

The main problem here is the differences between \Drupal\Component\Plugin\ContextAwarePluginBase and \Drupal\Core\Plugin\ContextAwarePluginBase

User interface changes

N/A

API changes

API additions only.


Viewing all articles
Browse latest Browse all 291469

Trending Articles