Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Drupal 8 Module Development

You're reading from   Drupal 8 Module Development Build modules and themes using the latest version of Drupal 8

Arrow left icon
Product type Paperback
Published in Mar 2019
Publisher Packt
ISBN-13 9781789612363
Length 580 pages
Edition 2nd Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Daniel Sipos Daniel Sipos
Author Profile Icon Daniel Sipos
Daniel Sipos
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Developing for Drupal 8 FREE CHAPTER 2. Creating Your First Module 3. Logging and Mailing 4. Theming 5. Menus and Menu Links 6. Data Modeling and Storage 7. Your Own Custom Entity and Plugin Types 8. The Database API 9. Custom Fields 10. Access Control 11. Caching 12. JavaScript and the Ajax API 13. Internationalization and Languages 14. Batches, Queues, and Cron 15. Views 16. Working with Files and Images 17. Automated Testing 18. Drupal 8 Security 19. Other Books You May Enjoy

What this book covers

Chapter 1, Developing for Drupal 8, provides an introduction to module development in Drupal 8. In doing so, it introduces the reader to the various subsystems and outlines the requirements for running a Drupal 8 application.

Chapter 2, Creating Your First Module, gets the ball rolling with the creation of the first Drupal 8 module of the book. Its primary focus is to explore the most common things module developers need to know from the get-go.

Chapter 3, Logging and Mailing, is about the tools available for doing something every web-based application does and/or should be doing; that is, sending emails and logging events.

Chapter 4, Theming, presents the theme system from a module developer's perspective in Drupal 8.

Chapter 5, Menus and Menu Links, explores the world of menus in Drupal 8 and shows how to programmatically create and work with menu links.

Chapter 6, Data Modeling and Storage, looks at the various types of storage available in Drupal 8, from the state system to configuration and entities.

Chapter 7, Your Own Custom Entity and Plugin Types, takes a hands-on approach in terms of creating a custom configuration and content entity type, as well as a custom plugin type for wiring up a practical functional example.

Chapter 8, The Database API, presents the database abstraction layer and discuss how we can work directly with data stored in custom tables.

Chapter 9, Custom Fields, exemplifies the creation of the three plugins necessary for creating a custom field that can be used on a Drupal 8 content entity type.

Chapter 10, Access Control, explores the world of access restrictions in Drupal 8, from roles and permissions to route and entity access checks.

Chapter 11, Caching, looks at the various cache mechanisms available for module developers to improve the performance of their functionality.

Chapter 12, JavaScript and the AJAX API, introduces module developers to the specificities of writing JavaScript in Drupal 8, as well as the powerful AJAX system, which can be used to build advanced interactions.

Chapter 13, Internationalization and Languages, deals with the practices that Drupal 8 module developers need to observe in order to ensure that the application can be properly translated.

Chapter 14, Batches, Queues, and Cron, explores the various ways module developers can structure their data-processing tasks in a reliable way.

Chapter 15, Views, looks at the various ways module developers can programmatically interact with Views and even expose their own data to them.

Chapter 16, Working with Files and Images, explores the various file and image APIs that allow module developers to store, track, and manage files in Drupal 8.

Chapter 17, Automated Testing, explores the various types of automated test module that developers can write for their Drupal 8 applications so as to ensure stable and resilient code.

Chapter 18, Drupal 8 Security, explores the most common principles that need to be observed when developing Drupal 8 modules.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime