Comments

tim.plunkett’s picture

Status: Active » Needs review
StatusFileSize
new15.91 KB

Okay, here's a conversion. However, it seems that _menu_link_translate() completely skips the applies() method of access checkers, and calls access() blindly. I'll have to check in with Crell on that.

Oh yeah, and all the breadcrumbs/active trail are screwed up.

Status: Needs review » Needs work

The last submitted patch, shortcut-1945564-1.patch, failed testing.

tim.plunkett’s picture

Status: Needs work » Needs review
StatusFileSize
new881 bytes
new15.67 KB

Whoops, shouldn't have outright removed shortcut_link_access().

Status: Needs review » Needs work

The last submitted patch, shortcut-1945564-3.patch, failed testing.

tim.plunkett’s picture

Status: Needs work » Needs review
StatusFileSize
new4.18 KB
new18.75 KB

Okay, switched to an access controller.
We should scheme up a more generic one of those for entities.

Status: Needs review » Needs work
Issue tags: -FormInterface

The last submitted patch, shortcut-1945564-5.patch, failed testing.

tim.plunkett’s picture

Status: Needs work » Needs review
Issue tags: +FormInterface

#5: shortcut-1945564-5.patch queued for re-testing.

tim.plunkett’s picture

tim.plunkett’s picture

This conversion is probably going to go in as part of #1947432: Add a generic EntityAccessCheck to replace entity_page_access(). Stay tuned.

jibran’s picture

Status: Postponed » Fixed
tim.plunkett’s picture

Status: Fixed » Closed (duplicate)

Ah, yes.