In this course, intermediate Drupal developers will expand their skills to create custom modules that utilize Drupal's Form API and Entity API. The course will focus on creating custom forms and entity types, as well as creating blocks and sending emails programmatically.
Who is this class for?
This course is designed for intermediate Drupal developers with a solid understanding of PHP, familiarity with Drupal's CMS, and a basic understanding of module development. Prior experience with the module development topics covered in our Beginning Drupal Module Development course is recommended.
What does this course cover?
Students who take this course will be able to:
- Create custom forms with the Drupal Form API
- Use validation and submit handlers to process form data
- Use hooks to modify entity data and work with entities programmatically
- Use the Entity API to create custom entity types
- Create custom blocks to generate dynamic content
- Send emails programmatically from Drupal
How is it taught?
The course will consist of pre-recorded video lessons and live Q&A sessions with the course instructor. The lesson videos can be watched on-demand, anytime it's convenient. Throughout the course, students will work on a series of hands-on projects, building custom modules that demonstrate the concepts covered in each lesson. We will provide an online development environment in which to follow along with the lessons and complete the assignments.
The weekly live sessions will be conducted online using Zoom. During the sessions, the instructor will answer questions about the lessons and will help troubleshoot any issues with the assignment. In addition to the live sessions, you will have access to an online forum to discuss assignments with other students and ask the instructor questions during the week.
How long is this course?
The estimated time commitment for the course is 6 - 8 hours per week for 2 weeks.
After the course is over, you can continue to access the lesson videos, free of charge, forever. There are no monthly subscription fees. Just come back and watch the lessons whenever you want. They are great when you need a refresher on a topic.
Lessons in This Course
|Using the DrupalTutor DevStack
|Installing Drupal Core
|Fixing the Trusted Host Settings Error
|Enabling Development Settings in Drupal
|Development Tools for Drupal
|Running Drush Without the Path
|Using the Example Code Repository
|Creating Forms Programmatically
|Validating Form Submissions
|Sending Emails Programmatically
|A Tour of Drupal's Form Elements
|Altering Forms from Other Modules
|Using Dependency Injection in Blocks (and Plugins in General)
|Access Control in Blocks
|Creating Configurable Blocks
|Displaying Forms in Blocks
|Introduction to the Entity API
|Finding, Viewing, and Updating Entities
|Entity Lifecycle Hooks
|Creating a Custom Application
|Creating a Content Entity with Drush
|Understanding the Content Entity Class Annotation
|Defining Base Fields on Content Entity Types
|Adding Base Fields to Content Entity Types
|Customizing a Content Entity Edit Form
|Customizing the Entity Type Settings Form
|Entity Access Control
|Entity List Builder
|Finishing Our Custom Application UI
|Creating Content Entities with Bundles
|Using Database Update Hooks to Update Entity Base Fields
|Creating Entities Programmatically