Problem/Motivation
We have \Drupal\node\ContextProvider\NodeRouteContext
that can be used in ConditionPlugin(for example).
But we haven't analogs to another entities. Taxonomy term is very essential page/route and this Context can be useful for Drupal DX.
Proposed resolution
Provide new service in taxonomy module.
Remaining tasks
- Write code
- Write tests
User interface changes
No.
API changes
New service.
Data model changes
No.
Release note snippet
Add taxonomy term route context service class