Problem/Motivation

The examples in entity.api.php using protected properties that was forgotten to update in #2384481: Make the class variables protected for NodeType

Proposed resolution

Fix example code to point proper method

Remaining tasks

review and commit

User interface changes

no

API changes

no

Data model changes

no

CommentFileSizeAuthor
entity-api.patch1.66 KBandypost

Comments

andypost created an issue. See original summary.

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Documentation +rc eligible

Looks good, thanks!

Note: although this looks like code, it's actually an example function body in a hook so it's documentation.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, entity-api.patch, failed testing.

andypost’s picture

Status: Needs work » Reviewed & tested by the community

suppose bot flux

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 6315275 and pushed to 8.0.x. Thanks!

  • alexpott committed 6315275 on 8.0.x
    Issue #2607294 by andypost: Fix entity.api bundle examples
    

  • alexpott committed 6315275 on 8.1.x
    Issue #2607294 by andypost: Fix entity.api bundle examples
    

Status: Fixed » Closed (fixed)

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