Commit Graph

128 Commits (0ac4b763031bb34ae72499f7eb1d0acdc53533cb)

Author SHA1 Message Date
catch 8d2e488062 Issue #2910181 by sarvjeetsingh, anmolgoyal74, apaderno, pameeela, jcalais: Update hook_node_grants docs to remove role ID reference, since it is no longer an integer 2023-02-22 13:35:27 +00:00
catch d0ab721e3f Issue #3316813 by immaculatexavier, apaderno, RoSk0: Remove mentions of node_access_example.module from docblocks 2022-10-24 16:36:46 +01:00
Alex Pott b8ac0d9850
Issue #2941148 by quietone, bruno.bicudo, ravi.shankar, Sweetchuck, beatrizrodrigues, lucienchalom, VitaliyB98, WagnerMelo, sophiavs, ankitjain28may, daffie, longwave, Sutharsan, borisson_, cosmicdreams, heykarthikwithu, catch: Fix Drupal.Commenting.FunctionComment.MissingReturnType 2022-09-27 10:58:26 +01:00
Alex Pott 203ad064e4
Issue #2723621 by jofitz, mfernea, alexpott, abhisekmazumdar, neclimdul, snehi, Suresh Prabhu Parkala, ankithashetty, anmolgoyal74, anoopjohn, longwave, hgunicamp, empesan, kostyashupenko, Mile23, dawehner, idebr, daffie, catch: Fix Drupal.Commenting.FunctionComment.IncorrectTypeHint and Drupal.Commenting.FunctionComment.InvalidTypeHint 2021-02-20 13:24:51 +00:00
Alex Pott d78e53bb0b
Issue #3189880 by mondrake, raman.b, Pooja Ganjage, daffie, Megha_kundar, dww, S_Bhandari: Use square brackets syntax in sql queries 2021-01-05 15:02:37 +00:00
Alex Pott aa8d81c7f2
Issue #2348203 by agentrickard, govind.maloo, mohit_aghera, dagmar, init90, Berdir, alexpott, chx, catch, xjm: hook_node_access() no longer fires for the 'create' operation 2020-07-28 09:27:29 +01:00
Lee Rowlands 275c864dda
Issue #2875394 by voleger, erozqba, Berdir, mondrake: Replace all calls to db_query, which is deprecated 2019-05-28 07:15:20 +10:00
catch 615123f51c Issue #2286655 by alexpott, attiks, mark_fullmer, nielsonm, Mark Slatinek, quietone, catch, dawehner, aburke626, justafish: Gender neutral language 2019-04-17 16:30:13 +09:00
Alex Pott 269c716d1d
Issue #2883553 by govind.maloo, msankhala, seanB, Berdir, xjm, alexpott: Obsolete argument for hasPermission in node_node_access() 2018-12-06 16:03:43 +01:00
Alex Pott 383f701fe8
Issue #2853118 by voleger, Jo Fitzgerald, Pavan B S, yogeshmpawar, hgunicamp, pk188, andypost, jeetendrakumar, longwave, gaurav.kapoor, RenatoG, daffie, mondrake, dhruveshdtripathi, catch, alexpott, xjm: Replace all calls to db_insert, which is deprecated 2018-09-18 13:15:20 +01:00
Alex Pott 70b5d87098
Issue #2369917 by Valentine94, pjonckiere, er.pushpinderrana, jhodgdon, xjm, Berdir, Wim Leers: 'Blindly returning FALSE will break other node access modules' is a misleading sentence 2018-08-07 15:15:27 +01:00
Alex Pott be6d515cad
Issue #2572613 by Malevi4, idebr, pfrenssen, Mile23, RajeevK: Fix 'Drupal.Array.Array.CommaLastItem' coding standard 2018-05-11 10:40:33 +01:00
Nathaniel Catchpole 1f191080c1 Issue #2902723 by mfernea, ccjjmartin: Fix 'Drupal.Commenting.FunctionComment.ReturnCommentIndentation' coding standard 2017-08-21 13:39:47 +09:00
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
Alex Pott 4a53d2f4cd Issue #2806827 by shashikant_chauhan, joachim: incorrect sample code in hook_node_links_alter() 2016-09-29 13:09:03 +01:00
Alex Pott df0425cfe1 Issue #2721909 by anoopjohn: Fix Drupal.Commenting.FunctionComment.ReturnCommentIndentation 2016-06-02 15:20:55 +01:00
Alex Pott b13374f2b1 Issue #2707641 by alexpott, anoopjohn: Ensure core compliance to Drupal.Commenting.FunctionComment.ParamCommentIndentation (part 2) 2016-04-29 09:53:52 +01:00
Nathaniel Catchpole fb8d5b1f0c Issue #2686765 by sidharthap, thhafner: cacheUntilEntityChanges() is deprecated and should be replaced with addCacheableDependency() 2016-03-16 10:34:36 +09:00
Jennifer Hodgdon d87ade36a4 Issue #2572643 by alexpott, attiks, Jelle_S, jhodgdon: Fix Drupal.Commenting.FileComment coding standard 2016-02-11 12:54:33 -08:00
Nathaniel Catchpole 758a81e61d Issue #2473021 by jcnventura, amitgoyal: Deprecate NodeAccessControlHandlerInterface::writeGrants() for removal in Drupal 9.0.x 2016-01-13 15:07:32 +09:00
effulgentsia 190032b775 Issue #2072945 by Berdir, plach, effulgentsia, Schnitzel, andypost, Wim Leers: Remove the $langcode parameter in EntityAccessControllerInterface::access() and friends 2015-10-07 12:30:24 -07:00
effulgentsia ace96debbe Issue #2073217 by andypost, Berdir, plach: Remove the $langcode parameter from the entity view/render system 2015-10-05 16:33:05 -07:00
Nathaniel Catchpole f384961721 Issue #2557519 by alexpott, joelpittet: Remove many usages SafeMarkup::checkPlain() and replace with Html::escape() 2015-08-26 11:34:29 +01:00
Alex Pott 150dc501cf Issue #2030191 by andypost, j2r, forbesgraham, henk, InternetDevels, IshaDakota, millerbennett: Clean-up api examples of node module 2015-05-26 14:18:47 +01:00
Alex Pott fdc1c3daf8 Issue #2383863 by rpayanm, mgifford, maximpodorov, Valentine94: Spellchecking Drupal - Comments 2015-04-02 11:59:11 +01:00
webchick 70f8ac6f31 Issue #2457887 by prateekMehta, stefan.r, rpayanm, alexpott: Use Utility\SafeMarkup class instead of Utility\String for placeholder(), checkPlain(),format() functions 2015-03-29 15:13:25 -07:00
catch 1208ddd979 Issue #2428703 by Wim Leers: Add a 'user.permissions' cache context (was: "Should cache contexts be able to associate a cache tag?") 2015-03-26 09:41:35 +00:00
Alex Pott db60a8c7ec Issue #2273923 by mpdonadio, pfrenssen, effulgentsia, pcambra, xjm, tim.plunkett, martin107, cilefen: Remove html => TRUE option from l() and link generator 2015-03-09 15:57:27 +00:00
Nathaniel Catchpole 824fef8a2c Issue #2406103 by Berdir, alexpott: Remove hook_node_validate() and hook_node_submit() because they bypass the entity API 2015-02-05 15:31:02 +00:00
Alex Pott aff95777ed Issue #2309737 by rpayanm, hussainweb, max-kuzomko, herom, millerbennett, ianthomas_uk, quietone, Sutharsan, sumitmadan, toddmbloom: Remove deprecated format_plural usage 2015-01-10 13:56:47 +00:00
Alex Pott 6a3b965c7d Issue #2011066 by Grimreaper, esbandeira, joshi.rohit100, the_contributor: example_author from hook_node_grants/hook_node_access_records grants all anon edit/delete to uid=0 nodes 2014-12-23 10:37:57 +01:00
Alex Pott 970ea07c17 Revert "Issue #2273923 by mpdonadio, pfrenssen, dawehner, xjm, cilefen: Remove html => TRUE option from l() and link generator"
This reverts commit 0bcabf50e0.
2014-12-13 21:44:18 +01:00
Alex Pott 0bcabf50e0 Issue #2273923 by mpdonadio, pfrenssen, dawehner, xjm, cilefen: Remove html => TRUE option from l() and link generator 2014-12-13 18:20:19 +01:00
Alex Pott 8790ec0d1f Issue #2017433 by BarisW: The documentation for hook_ranking() is wrong 2014-12-05 14:51:35 +00:00
Alex Pott 789de472d0 Issue #2354597 by esod, YesCT, vadim.hirbu, ashutoshsngh: Remove usage of form_set_value(). 2014-11-07 12:05:32 -08:00
Alex Pott ff035fc4fa Issue #2340507 by chx, Wim Leers: Make the new AccessResult API and implementation even better. 2014-09-22 22:08:27 +01:00
Nathaniel Catchpole 0f28b515f8 Issue #2287071 by Wim Leers, alexpott, chx: Add cacheability metadata to access checks. 2014-09-17 15:39:29 +01:00
Alex Pott 7fff6e850a Issue #2297875 by herom, bfr: Replace calls to form_set_error() to $form_state->setErrorByName(). 2014-08-22 02:04:33 +01:00
Alex Pott 9d777775b1 Issue #2307681 by cbr, Berdir, moshe weitzman: GetEntityTypeFromStaticClass - poor performance. 2014-08-11 15:02:28 -05:00
Jennifer Hodgdon 525a46c93c Issue #2318981 by er.pushpinderrana, grisendo: Make hook_node_grants and hook_node_access_records sample function bodies consistent 2014-08-11 10:18:20 -07:00
Alex Pott 8196034a57 Issue #2316533 by tim.plunkett: Add getValue/setValue/hasValue and isValueEmpty to FormState. 2014-08-08 11:25:54 -05:00
Dries fc5e111aca Issue #2225353 by tim.plunkett: Convert to an object and provide methods like setError(). 2014-07-30 20:50:42 -04:00
Alex Pott 70bed3385f Issue #2301317 by pwolanin, dawehner, Wim Leers, effulgentsia, YesCT, xjm, alexpott: MenuLinkNG part4: Conversion. 2014-07-30 13:04:04 +01:00
Alex Pott 44f76c6bcf Revert "Issue #2301317 by pwolanin, effulgentsia, Wim Leers, dawehner, alexpott: MenuLinkNG part4: Conversion."
This reverts commit fd2db9cd35.
2014-07-30 13:02:58 +01:00
Nathaniel Catchpole fd2db9cd35 Issue #2301317 by pwolanin, effulgentsia, Wim Leers, dawehner, alexpott: MenuLinkNG part4: Conversion. 2014-07-30 11:47:01 +01:00
webchick 686b47cd0b Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom, rhm50, naveenvalecha, andypost, mandar.harkare, sergeypavlenko, sidharthap, SIz, tkuldeep17: Replace user_access() calls with ->hasPermission() in all core modules except user. 2014-07-11 23:55:56 -07:00
webchick a07a4918b3 Revert "Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom: Replace user_access() calls with ->hasPermission() in all core modules except user."
Fixing commit credit.

This reverts commit 25afa8100a.
2014-07-11 23:54:55 -07:00
webchick 25afa8100a Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom: Replace user_access() calls with ->hasPermission() in all core modules except user. 2014-07-11 22:41:12 -07:00
Alex Pott 5ffb1d3cfe Issue #2216535 by jhodgdon, Berdir: Replace Node overview topic and Node API topic with Entity Hooks topic. 2014-07-11 13:04:53 +01:00
Jennifer Hodgdon a735308ce5 Issue #2260043 by t0xicCode, amitgoyal: Remove lingering references to obsolete field crud and attach topics and functions 2014-06-13 14:50:50 -07:00