Support from Acquia helps fund testing for Drupal Acquia logo

Comments

esbandeira’s picture

Assigned: Unassigned » esbandeira

I'll work on this.

esbandeira’s picture

Status: Active » Needs review
FileSize
1.18 KB

Please review, I've perform the maintenance needed in this code.
Regards
Eduardo.

esbandeira’s picture

Issue summary: View changes

adding link to examples module issue

Grimreaper’s picture

Hello,

I remade a patch because the previous one was no more appliyable.

Is there something to test in the interface ?

Is there something to change in the documentation blocks ?

Else I see no problem.

Status: Needs review » Needs work
Grimreaper’s picture

Status: Needs work » Needs review
FileSize
2.07 KB

Should be good now.

hefox’s picture

+++ b/core/modules/node/node.api.php
@@ -173,21 +173,23 @@
+  if ($account->uid) {

should this be $account->id()?

not familiar with account->id(), just guessing.

Grimreaper’s picture

Hello,

I just review and rebase the previous patch.

If you tell me that $account->id() exists and it is better, ok no problem I will remake a patch.

You guess right, I was not familiar with its :)

Grimreaper’s picture

Using $account->id() and $node->getOwnerId().

I don't know what I had in mind when I said "If you tell me that $account->id() exists" in the previous comment.

It was already in the code... Shame on me.

joshi.rohit100’s picture

Created new patch as last patch failed to apply.
Please review.

jhedstrom’s picture

adci_contributor’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
FileSize
1.28 KB

Trying to reroll

Wim Leers’s picture

Issue tags: +Documentation
jhedstrom’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

This looks good.

I've also added a beta phase evaluation to the issue summary.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 6a3b965 and pushed to 8.0.x. Thanks!

Thanks for adding the beta evaluation for to the issue summary.

  • alexpott committed 6a3b965 on 8.0.x
    Issue #2011066 by Grimreaper, esbandeira, joshi.rohit100,...
David_Rothstein’s picture

Version: 8.0.x-dev » 7.x-dev
Status: Fixed » Patch (to be ported)
Issue tags: +Needs backport to D7

Looks relevant for Drupal 7, I think, especially since the Examples module issue this grew out of was also for Drupal 7.

adci_contributor’s picture

Status: Patch (to be ported) » Needs review
FileSize
1.16 KB

Trying to backport

  • alexpott committed 6a3b965 on 8.1.x
    Issue #2011066 by Grimreaper, esbandeira, joshi.rohit100,...

  • alexpott committed 6a3b965 on 8.3.x
    Issue #2011066 by Grimreaper, esbandeira, joshi.rohit100,...

  • alexpott committed 6a3b965 on 8.3.x
    Issue #2011066 by Grimreaper, esbandeira, joshi.rohit100,...

  • alexpott committed 6a3b965 on 8.4.x
    Issue #2011066 by Grimreaper, esbandeira, joshi.rohit100,...

  • alexpott committed 6a3b965 on 8.4.x
    Issue #2011066 by Grimreaper, esbandeira, joshi.rohit100,...