Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

DrupalCon New Orleans 2016: Aha! Understanding and Using Render Arrays in Drupal 8

Автор: Drupal Association

Загружено: 2016-05-10

Просмотров: 5811

Описание:

theme() has been a popular function used by Drupal developers since Drupal 4.7. Drupal 7 core calls theme() over 200 times alone. But theme() no longer exists in Drupal 8 and there is no object-oriented equivalent. If we can’t call theme(), how do we render our data with the Twig templates that we’re all so excited about?

Render arrays. Every use of a Drupal 8 template starts with a render array and many variables within a template are render arrays themselves. While they did exist before Drupal 8, render arrays weren’t used as often as they should have been. They’re everywhere now, and for good reason. They provide many advantages over their deprecated counterpart.

Unfortunately render arrays are a bit confusing and intimidating until that wonderful “aha moment” hits. This session aims to provide that moment. It will cover:

what render arrays are and how to use them
how render arrays become rendered markup
why render arrays provide advantages over theme()
best practices for using render arrays in a sustainable way
other goodies, such as attaching assets and caching
Because render arrays bridge the gap between the back and front ends, it’s important for developers on both sides to understand them. Previous experience with theme(), hook_theme(), preprocess functions, and/or templates in Drupal 7 will make this session easier to follow and understand.

DrupalCon New Orleans 2016: Aha! Understanding and Using Render Arrays in Drupal 8

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

DrupalCon New Orleans 2016: Building Rich Apps with Angular 2 and Drupal

DrupalCon New Orleans 2016: Building Rich Apps with Angular 2 and Drupal

DrupalCon Amsterdam 2014: Модели и сервисные слои; Гемоглобин и домовые

DrupalCon Amsterdam 2014: Модели и сервисные слои; Гемоглобин и домовые

Боитесь программировать? Бойтесь. Но программируйте. Показываю, где и что • Offtopic • Live Stream

Боитесь программировать? Бойтесь. Но программируйте. Показываю, где и что • Offtopic • Live Stream

"Uncle" Bob Martin - "The Future of Programming"

DrupalCon Dublin 2016: HTTP/2: what no one is telling you

DrupalCon Dublin 2016: HTTP/2: what no one is telling you

Configuration Management in Drupal for Beginners / DrupalCon Global 2020

Configuration Management in Drupal for Beginners / DrupalCon Global 2020

Почему ваш код не соответствует Python (и как это исправить)

Почему ваш код не соответствует Python (и как это исправить)

Drupal 8 Caching: A Developer’s Guide

Drupal 8 Caching: A Developer’s Guide

Rendering unordered and ordered lists with Render API

Rendering unordered and ordered lists with Render API

Webinar: Drupal 8 Debugging Techniques

Webinar: Drupal 8 Debugging Techniques

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

Orędzie noworoczne Prezydenta RP

Orędzie noworoczne Prezydenta RP

С  НОВЫМ  ГОДОМ!    #веллер 30 12 2025

С НОВЫМ ГОДОМ! #веллер 30 12 2025

Drupal 8 Day: Demystifying AJAX Callback Commands in Drupal 8

Drupal 8 Day: Demystifying AJAX Callback Commands in Drupal 8

DrupalCon Los Angeles 2015: Drupal 8: The Crash Course

DrupalCon Los Angeles 2015: Drupal 8: The Crash Course

TypeScript ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Вся теория + практика

TypeScript ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Вся теория + практика

Drupal 8 passing JS variables from controller

Drupal 8 passing JS variables from controller

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Twig recipes: Making Drupal 8 render the markup you want

Twig recipes: Making Drupal 8 render the markup you want

Faceted Apache Solr Search with Drupal 8

Faceted Apache Solr Search with Drupal 8

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]