Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
node system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Jan 2015 at 15:13 UTC
Updated:
26 Jan 2015 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chx commentedI assigned to xjm as a node access maintainer.
Comment #2
chx commentedComment #3
chx commentedOf course one can raise the question: why on earth is this static in the first place??
Comment #4
dawehnerSeems totally legit, this is an internal implementation detail of the storage.
Comment #5
xjm+1.
Comment #6
dawehnerLet's add a tag.
Comment #7
wim leersDiscussed with chx in IRC; the problem is not
static, but only the lack of scope.Comment #8
chx commentedThe answer to #3 and this needs to spread wider: static is preferred to indicate (and enforce) a function which doesn't change the object state. static got a bad rep because static variables are problematic but static methods are helpful in this way.
Comment #9
alexpottCommitted 3bd3baf and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation for to the issue summary.