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 JeroenT on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Introduced in version:
8.0.0-beta11
Description:
The following methods in Drupal\Core\Render\BubbleableMetadata are replaced by a new variant:
Before | After |
---|---|
BubbleableMetadata::getAssets() | BubbleableMetadata::getAttachments() |
BubbleableMetadata::addAssets() | BubbleableMetadata::addAttachments() |
BubbleableMetadata::setAssets() | BubbleableMetadata::setAttachments() |
Impacts:
Module developers