Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Move node_test_node_access_all_uid variable to the state system
Move variable_get/_set/_delete to state()->get/set/delete
Comment | File | Size | Author |
---|---|---|---|
#6 | node_test_node_access_all_uid-1798868-6.patch | 1.83 KB | Albert Volkman |
#4 | node_test_node_access_all_uid-1798868-4.patch | 1.82 KB | Albert Volkman |
#4 | interdiff.txt | 2.58 KB | Albert Volkman |
#2 | node_test_node_access_all_uid-1798868-2.patch | 2.62 KB | Luukyb |
#1 | node_test_node_access_all_uid-1798868.patch | 1.81 KB | Luukyb |
Comments
Comment #1
Luukyb CreditAttribution: Luukyb commentedComment #2
Luukyb CreditAttribution: Luukyb commentedAdded the namespace to the variable and the system_update function.
Comment #3
alexpottThanks for the work.
There's no need for the system update as this variable is only ever used during testing. Also the state name should be
node_access_test.no_access_uid as it "belongs" to the node_access_test module.
Should be something like as
->get()
does not support providing a default valueComment #4
Albert Volkman CreditAttribution: Albert Volkman commentedHow's this?
Comment #6
Albert Volkman CreditAttribution: Albert Volkman commentedBleh.
Comment #7
Berdir#6: node_test_node_access_all_uid-1798868-6.patch queued for re-testing.
Comment #8
BerdirThis is RTBC if it still applies.
Comment #9
webchickCommitted and pushed to 8.x. Thanks!