Drupal logo

Goals


- Know how to develop modules for Drupal, interact with the core, manage the router, forms, data model

Program

Presentation of Drupal and history of versions
IDE and development tools for Drupal
Installation and implementation of the working environment
Documentation and other resources Drupal.org

Workshop: Installation and basic configuration of Drupal

General architecture
Organization of directories and files
Multi-site management

Workshop: Use of third-party modules

Declaration of the module: the info file
Interacting with the heart: the principle of hooks
Declaring a hook
Best practices: help page, administration, rights
Save module settings

Workshop: Creation of the first module

How Drupal manages URL routing
Matching a URL to a page
Managing access control to a URL
Using « wild cards » in URLs
Modifying URLs declared by other modules

The database abstraction layer
Connect to the database
Make queries
Manage transactions
Presentation of the Schema API
Manage schema versions
Connect to several DBs

The global object $ user
Introduction to hook_user ()
User account creation
process The login process
Add fields to the $ user object

Create your own forms
Submission and validation of a form
Presentation of a form
Complex forms

The File API
Manipulating taxonomy
Cache
management by Drupal Session management by Drupal
Use javascript and jQuery in Drupal

Understanding the theme engine
Increasing and overloading display elements
Template files
Theme functions

How entities and bundles work
Creating a new entity type
Managing entity metadata
Using the Entity API wizard
Setting up the Entity class and its controller

Declare a new type of control
Manage persistence in the database
Validate a field
Create a custom widget

Main evolutions of Drupal 8

Duration

5 days

Price

£ 2607

Audience

Confirmed PHP developer

Prerequisites

Have followed the Drupal webmaster and intermediate PHP training or equivalent knowledge

Reference

OPE725-F

Sessions

Contact us for more informations about session date