Problem/Motivation

Docs in block.api.php are wrong hook_block_access()

Proposed resolution

Update docs to reference AccountProxy instead of User

Remaining tasks

review

User interface changes

n/a

API changes

n/a

Data model changes

n/a

CommentFileSizeAuthor
#1 2544674-2.patch1.32 KBbenjy
hook-block-access.patch1.33 KBbenjy

Comments

benjy’s picture

StatusFileSize
new1.32 KB

Use AccountInterface instead.

longwave’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Quick fix
wim leers’s picture

Issue tags: +Documentation

RTBC++

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Docs are not frozen in beta. Committed a5fdee3 and pushed to 8.0.x. Thanks!

  • alexpott committed a5fdee3 on 8.0.x
    Issue #2544674 by benjy: hook_block_access() has incorrect docs in block...

Status: Fixed » Closed (fixed)

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