The \Drupal::entityQuery calls are replaced by \Drupal::entityTypeManager() calls.
So this way we dont have query in the view layer.

Comments

mr.york created an issue. See original summary.

mr.york’s picture

StatusFileSize
new6.39 KB

Attached patch.

mr.york’s picture

StatusFileSize
new6.39 KB

Fixed typos.

nagy.balint’s picture

Status: Active » Needs review
scott_euser’s picture

Status: Needs review » Needs work

This patch unfortunately does not apply any more after the last couple of commits. Otherwise in general looks fine thanks!

nagy.balint’s picture

Status: Needs work » Needs review
StatusFileSize
new6.47 KB

Rerolled the patch.

I tested it, and fixed an issue at SimpleSiteSettingsBlock in the patch where the condition was incorrect.

scott_euser’s picture

Status: Needs review » Fixed

Thanks!!

Status: Fixed » Closed (fixed)

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