Past Meetup

A Drupal 8 evening with Mauricio Dinarte | London Drupal User Group

This Meetup is past

29 people went

Location image of event venue


We are very honoured to have Mauricio Dinarte ( ) from Nicaragua joining us.

He is very active in his local community in Nicaragua and serves as the lead organiser of the Nicaraguan Drupal community ( He helps to organise meetups, Global Training Days, Global Sprint Weekends, and other events to share his knowledge and experience.

He is passionate about Drupal & teaching. Over the past few years he has presented 20+ sessions in over 14 DrupalCamps over America and Europe.

He will be presenting not one, but 2 sessions “Twig recipes - Making Drupal 8 render the markup you want” and 'Drupal 8 migrations by example'.

He has given these at Drupal camps including BADCamp, Twin Cities, New Jersey, DrupalCorn, Design for Drupal, camps in Texas, DrupalCamp London, Northern Lights & Costa Rica.

Twig recipes - Making Drupal 8 render the markup you want

“Understanding the process of finding a solution is far more valuable than the solution itself.” Lea Verou, author of CSS Secrets.

The addition of Twig has revolutionized the way we do theming in Drupal 8. Although very powerful and expressive, it is significantly different to what we did before. Using Twig requires us to take a new approach in order to make Drupal produce the markup that we want. This session is aimed at site builders and themers who want to understand how Twig works in Drupal 8. Basic theming concepts will be presented so no prior knowledge is required to attend.

You will learn what a theme is responsible for when generating a Drupal page. Templates, template nesting, and theme debug will also be explained so you know where to look at when trying to modify the default markup. Twig’s syntax, filters, functions, and tests will be presented as the basis for writing templates. All of these in the context of practical examples some of which come from Drupal core itself.

With this knowledge under our belt, we will proceed to analyse the recipes where you will learn:

• How to pass information from Drupal to Twig?

• How to conditionally hide/show fields based on the content of other fields?

• How to use image fields as background images?

• How to render node content as HTML attributes?

By the end of the session, you will have a better understanding on how Twig works in Drupal 8 and the thought process required to produce custom markup.

Drupal 8 migrations by example

Learn to move content to your Drupal site using the Migrate module without writing a single line of PHP. This session is aimed at site builders who will learn to combine various contributed modules and write YAML files to accomplish content migrations. No prior experience with the Migrate module is required.

A live demo will be presented where you will learn how to:

Fetch data from Comma Separated Values (CSV) files.
Transform the data to populate taxonomy, date, image, file, and address fields.
Get content into Paragraphs.
Source, process, and destination plugins will be explained to learn how each affect the migration. By the end of the session, you will have a better understanding on how the Migrate module works and the thought process required to plan and perform migrations.

Note: Although no prior Migrate module knowledge is required, it is expected that you have a basic understanding of nodes, content types, and fields. You can learn about these and other Drupal concepts by watching this session recording