drupal 8

Extending Twig

A test Twig extension that adds a custom function and a custom filter.

Getting a taxonomy term's image URI

To get the URL of the first image in a taxonomy term's field_image field:

Get information on the current request

Drupal8. The Request object can be obtained by calling the request method on \Drupal


Subscribe to RSS - drupal 8