Implementing our page title
Every content type we develop in Drupal includes a title field, which is used to identify the node currently being displayed. In Drupal 8, the title field warrants its own block called Page title. This new block provides us with the flexibility to place the page title into any region and have it display wherever it is needed in our layout.
In order for us to implement the page title displayed within our mockup, we will need to complete a series of steps:
- First, we will copy the static markup from our mockup into our interior page template and preview the results.
- Second, we will configure our theme to add a new Title Bar region that we can use to assign content to.
- Next, we will need to assign the Page title block to our ...
Get Drupal 8: Enterprise Web Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.