Drupal 9 Module Development
Withitslatestrelease,Drupal9,thepopularopensourceCMSplatformhasbeenupdatedwithnewfunctionalitiesforbuildingcomplexDrupalappswithease.ThisthirdeditionoftheDrupalModuleDevelopmentguidecoversthesenewDrupalfeatures,helpingyoutostayontopofcodedeprecationsandthechangingarchitecturewitheveryrelease.ThebookstartsbyintroducingyoutotheDrupal9architectureanditssubsystemsbeforeshowingyouhowtocreateyourfirstmodulewithbasicfunctionality.You’llexploretheDrupalloggingandmailingsystems,learnhowtooutputdatausingthethemelayer,andworkwithmenusandlinksprogrammatically.Onceyou’veunderstoodthedifferentkindsofdatastorage,thisDrupalguidewilldemonstratehowtocreatecustomentitiesandfieldtypesandleveragetheDatabaseAPIforlower-leveldatabasequeries.You’llalsolearnhowtointroduceJavaScriptintoyourmodule,workwithvariousfilesystems,andensurethatyourcodeworksonmultilingualsites.Finally,you’llworkwithViews,createautomatedtestsforyourfunctionality,andwritesecurecode.Bytheendofthebook,you’llhavelearnedhowtodevelopcustommodulesthatcanprovidesolutionstocomplexbusinessproblems,andwhoknows,maybeyou’llevencontributetotheDrupalcommunity!
·17.4萬字