August 2023
Intermediate to advanced
360 pages
7h 45m
English
In this chapter, we’ll go deeper with Drupal blocks. Blocks are the other element that is needed to build a page, along with controller actions.
You will learn about editorial blocks: how to provide a specific template for them and how to extract raw field values from them. We’ll explore some different ways to retrieve data from an entity field.
You will learn how to style blocks that are defined in code by custom or contributed modules.
Finally, we’ll look at a couple of useful details when rendering blocks provided by Drupal core, such as the page title and breadcrumb.
The topics in this chapter are as follows:
To run ...
Read now
Unlock full access