Intro into Layout Builder and Drupal.offCanvas with extra tricks (and no extra Drupal modules)

Time: Thursday 20th October 11:00-11:35
Room: Ballroom 2
Track: Drupal Development

- Present an overview of what Drupal core Layout Builder module is (psst! It is better that Display Suite!).
- Show/explain some custom Layout Builder PHP/YML code that allows extra html classes, custom plugin classes and extra form fields, all in the theme layer! (no extra modules, can even work in GovCMS!)
- Show that via block contexts, layout builder can show a Drupal view of a Drupal node in draft state (or any revision). Traditionally, Drupal views will only work with the current published version.

- Present an overview of what Drupal core Drupal.offCanvas() is, how it works, how to style etc.
- Show/explain how to add extra classes to specific instances via JavaScript.

- Finally, show a live website example of Layout Builder andDrupal.offCanvas() (Lead Developed by yours truly) and mention how these can work together. (https://soe.dcceew.gov.au/overview/key-findings => Click "cite this page" on the right)

Joshua Graham
Joshua hails from the Wagga Wagga NSW and pursued his education with a Bachelor of IT - majoring in networking and software with some subjects in online systems. He moved to Canberra to start his career. He started work with Adelphi Digital, which was acquired by Ernst & Young. He has been developing with Drupal and GovCMS for over six years. His work has included writing JavaScript to inject polyfills into iframes before loading with minisite module, connecting to APIs and describing them via Drupal views, connecting Drupal 7 with Active Directory (LDAP & Kerberos Single Sign On) and performing Drupal 7 to 8/9 migrations. On the weekend, he enjoys catching up with friends, playing soccer, going to bootcamp to work out and aspiring to get 5 minute Kilometres in his local Parkrun.