Problem/Motivation

As a developer, I'd like to be able to more easily target specific entity bundles when altering sitemap links. Otherwise, I have to load every single entity in the $links array to check the bundle.

Proposed resolution

Add a bundle key to the entity_info data in $links

Comments

dabblela created an issue. See original summary.

dabblela’s picture

StatusFileSize
new573 bytes
dabblela’s picture

Status: Active » Needs review
dabblela’s picture

StatusFileSize
new1.12 KB
pobster’s picture

StatusFileSize
new1.58 KB

Reroll as #4 failed to apply.

gbyte’s picture

Assigned: Unassigned » gbyte
Status: Needs review » Needs work

Code has been refactored, so this can be implemented more cleanly.

  • gbyte committed 5ccfface on 4.x
    Issue #3351158 by dabblela, pobster, gbyte: Add entity bundle to entity...
gbyte’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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