Identify and use preprocessors by creating a custom breadcrumb trail on a page, and reduce and refactor code in custom modules.
Objectives and Prerequisites
You will need the following knowledge and skills. If you need a review, check out the Resources section at the bottom of this page.
- How to identify scenarios using page preprocessors.
- Use Drupal core functions to create a breadcrumb trail.
You will need to refer to the wireframe collection PDF.
- It's possible to extract information about the current page to use as a condition by using core menu functions.
- When writing custom code, reduce duplication and refactor as you go.