Per #3069696-42: Remove BC layers from the entity system, we need to remove the NULL value from $memory_cache in the ConfigEntityStorage constructor, and remove the |null from the @param declaration.

Comments

katherined created an issue. See original summary.

katherined’s picture

Status: Active » Needs review
StatusFileSize
new1.92 KB
katherined’s picture

Issue summary: View changes
phenaproxima’s picture

Title: Remove NULL default from ConfigEntityStorage » Remove null default for $memory_cache in entity storage handler constructors
Status: Needs review » Needs work

Nice work! This looks great.

I did some poking around in the rest of the entity system and discovered that there are a few other places that were missed. Let's also fix this for:

  • \Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorage
  • \Drupal\Core\Entity\Sql\SqlContentEntityStorage

Re-titling accordingly.

katherined’s picture

StatusFileSize
new2.79 KB
new739 bytes

It looks like those were addressed, except for one of the comments.

phenaproxima’s picture

Status: Needs work » Needs review
effulgentsia’s picture

Status: Needs review » Needs work

Let's also get the @param declaration of ContentEntityStorageBase fixed. Other than that, I think this looks good.

neelam_wadhwani’s picture

Assigned: Unassigned » neelam_wadhwani
neelam_wadhwani’s picture

StatusFileSize
new3.53 KB
new3.53 KB

Kindly review patch.

neelam_wadhwani’s picture

Assigned: neelam_wadhwani » Unassigned
Status: Needs work » Needs review
phenaproxima’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed ba351b4 and pushed to 9.0.x. Thanks!

  • alexpott committed ba351b4 on 9.0.x
    Issue #3118998 by katherined, neelam_wadhwani, phenaproxima,...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.