Understanding & leveraging the Typed Data API of Drupal 8

fago

Drupal 8 comes with the Typed Data 8 API - a foundational API that is used a lot by the Field and Entity APIs among others. In this session we'll learn what the Typed Data API is, how it works and what you can gain by providing metadata (=Typed Data Definitions) for your data. Finally, we'll see how module developers can build upon it!

Topics covered:

  • The why? Concepts and ideas behind Typed Data explained!
  • How Drupal 8 uses Typed Data
  • Extending Typed Data with further data types
  • How to annotate data with metadata
  • Leveraging APIs based upon Typed Data (hint: Tokens & Filters, Context, Data Selection, Validation, Form Widgets & Display)
  • Outlook & further development ideas

 

The session is aimed for Drupal 8 developers with a basic understanding of the Drupal 8 APIs (Entities, Fields, Plugins).

Session Track

Coding and Development

Experience Level

Intermediate

Drupal Version