Build Drupal 8 Module
08 March 2016Drupal Brisbane meetup
TOC
- Types of modules
- Build Simple Drupal 8 module
- …
- Events update
Build a module
Types
- profile
- Theme
- module
Simple module
- Create content
- Export configuration
- Sanitise configuration
- Add required configuration to the module
Create content
- Content type: event
- Fields: Body, Date
Export Conf
- Manually:
Configuration management
- Using drush:
drush cex
Module: Export conf
The features module enables the capture and
management of features in Drupal.
https://www.drupal.org/project/features
Module: Export conf
Configuration Development provides
automated import and export of configuration
between the active configuration storage and
exported modules.
https://www.drupal.org/project/config_devel
Module: Export conf
Configuration Update Manager allows you
to see the differences between the
configuration items provided by the current
and installed configuration versions
https://www.drupal.org/project/config_update
Module: Export conf
Configuration Synchronizer: Provides
methods for safely importing site
configuration from updated modules and
themes.
https://www.drupal.org/project/config_sync
Module
- Create event.info.yml in docroot/modules/event
Module
- Copy configuration files to
docroot/modules/event/config/install
Events
Drupal in a day
- 8-9 Apr 2016
- https://www.drupal.org/global-training-days
- Unis?
- Byron bay Drupal Camp?
DrupalSouth 16 Update
- Q1, Surfers paradise
- 27-28 October 2016
- 14-Mar: Call for sponsors
- 01-Apr: Early bird sales
- 01-may: call for papers
- http://goldcoast2016.drupal.org.au/
Local conferences
- PHP Australia: Sydney (14-15 Apr 2016)
http://www.phpconference.com.au/
- JS Conf: Melbourne (01 Dec 2016)
http://jsconf.com.au/
DrupalConS
- US 16: New Orleans (09-13 May 2016)
https://events.drupal.org/neworleans2016
- EU16: Dublin (26-30 Sep 2016)
https://events.drupal.org/dublin2016
QUESTIONS?
@tesdev
http://www.slideshare.net/VladimirAus