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

Update CacheableMetadata & AccessResult to use RefinableCacheableDependency(Interface|Trait)

$
0
0

Problem/Motivation

Blocked on #2512718: EntityManager::getTranslationFromContext() should add the content language cache context to the entity.
#2512718: EntityManager::getTranslationFromContext() should add the content language cache context to the entity introduces MutableCacheableDependencyInterface.

Proposed resolution

Update CacheableMetadata and AccessResult to use it. This is not an API change, because it just means creating an interface for methods they already have.

Remaining tasks

Do it.

User interface changes

None.

API changes

None.

Data model changes

None.

Beta phase evaluation

`

Reference: https://www.drupal.org/core/beta-changes
Issue categoryTask because nothing is broken, it's just very confusing.
Issue priorityMajor because this will significantly help DX.
Prioritized changesThe main goal of this issue is DX, consistency — setting the right example.
DisruptionZero disruption.

Viewing all articles
Browse latest Browse all 314003

Trending Articles