Parent Issue

#2359437: [meta] Remove entity_load* family of functions usage from the code base

Problem/Motivation

There are case where entities of the view entity type are retrieved using the functional loader, entity_load()

Proposed resolution

Replace calls to entity_load('view', ...) with View::load()

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

valthebald created an issue. See original summary.

danielmrichards’s picture

I'll take a look at this as part of the DrupalCon NOLA sprints

danielmrichards’s picture

danielmrichards’s picture

Status: Active » Needs review

Status: Needs review » Needs work
danielmrichards’s picture

danielmrichards’s picture

Status: Needs work » Needs review
valthebald’s picture

Status: Needs review » Reviewed & tested by the community

After applying the patch from #6, there are no more occurences of entity_load.*\('view'

John Cook’s picture

Issue summary: View changes

Updated the summary to help submitters.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed ac4b5c7 and pushed to 8.2.x. Thanks!

  • alexpott committed ac4b5c7 on 8.2.x
    Issue #2723585 by danielmrichards, valthebald, John Cook: Remove...

Status: Fixed » Closed (fixed)

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