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

Properly deprecate type => 'hidden' component handling and undeprecate EntityDisplayBase::handleHiddenType until its usage can be removed in Drupal 9

$
0
0

Problem/Motivation

EntityDisplayBase::handleHiddenType is a method added in as a BC layer and marked deprecated despite being needed and used in Drupal 8 core.

Proposed resolution

Properly trigger an error when the BC layer is activated so contrib knows to not use type => hidden. Undeprecate the specific method as it is currently in use. When the Drupal 9 branch is opened, remove usages, empty the method, and mark as deprecated for removal in Drupal 10.
Follow up issue is at #2799641: Remove automatic 'type' handling from EntityDisplayBase in favor of explicit 'region' handling

Remaining tasks

User interface changes

API changes

handleHiddenType will be properly deprecated

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 292508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>