Skip to main content
Home
Разработчик программного обеспечения
  • Консультирование
    • Все консультационные услуги
    • Ruby on Rails
    • ReactJs
    • Drupal
    • Цены
  • Хостинг/Поставка Приложений
    • Все ведомые апликации
    • Jenkins
    • SMT
    • Почтовое приложение
    • Цены
  • О нас
    • Используемые техноголии
    • Наш процесс
    • Наша команда
    • Показательные примеры
    • Свяжитесь с нами
Vote up!

4

Vote down!

Some Twig convenience methods for Drupal 9

Engineering Blog
Issue 2024Q1 (current)

Twig_tweak cheatsheet (highly recommend): https://git.drupalcode.org/project/twig_tweak/-/blob/3.x/docs/cheat-sheet.md

  {{ node.field_image_hero | file_url }}
 content.field_background_color|escape|striptags|replace({"\n": "", "\r": "", "\t": ""})
 {% for item in items %}
   {{ item.content['#context']['value'] }}
 file_url(content.field_image['#items'].entity.uri.value)
Related Articles
Vote up!

2

Vote down!
A first functional test in Drupal 9 (test a redirect in a controller)
Vote up!

-4

Vote down!
Drupal asks for keycloak secret. What is that, where do you get it?
Vote up!

14

Vote down!
[FIXED]: Error: Call to a member function transformDimensions() on null in core/modules/ image/image.module
Vote up!

-7

Vote down!
How to set a default publish_on field when creating a node in drupal 9
Vote up!

4

Vote down!
Handle configuration settings in custom Drupal modules and example of using the configuration API in Drupal
Vote up!

6

Vote down!
Default Drupal file attachment types

Please log in to post a comment:

Authenticate through Google

User account menu

  • Register
  • Войти

Pages

  • Issues
  • Engineering Blog
  • Site Updates
  • Tags
  • All Articles
  • Careers
  • Contact us
  • English
  • Español
  • Português
  • Russian
  • LinkedIn linkedin logo
  • Youtube youtube logo

Social Login

Authenticate through Google
Copyright (c) 2025 Wasya Co
Условия и положения

  201 W 5th St 11th Floor, Austin, TX 78701