Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Wim Leers on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
8.0.x
Description:
Element::isEmpty()
added. Indicates whether the given element is empty.
(An element that only has #cache set is considered empty, because it will render to the empty string.)
Impacts:
Module developers
Themers