From 5217ef8c507edabd4951ae392e94e7bc76e20e65 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 24 Jun 2015 06:33:50 -0500 Subject: [PATCH] Issue #2505941 by JeroenT, joshi.rohit100: Remove deprecated methods on BubbleableMetadata class --- .../Drupal/Core/Render/BubbleableMetadata.php | 40 ------------------- 1 file changed, 40 deletions(-) diff --git a/core/lib/Drupal/Core/Render/BubbleableMetadata.php b/core/lib/Drupal/Core/Render/BubbleableMetadata.php index 5cb350e965a..dd53b73a90b 100644 --- a/core/lib/Drupal/Core/Render/BubbleableMetadata.php +++ b/core/lib/Drupal/Core/Render/BubbleableMetadata.php @@ -73,46 +73,6 @@ class BubbleableMetadata extends CacheableMetadata implements AttachmentsInterfa return $meta; } - /** - * Gets assets. - * - * @return array - * - * @deprecated Use ::getAttachments() instead. To be removed before Drupal 8.0.0. - */ - public function getAssets() { - return $this->attachments; - } - - /** - * Adds assets. - * - * @param array $assets - * The associated assets to be attached. - * - * @return $this - * - * @deprecated Use ::addAttachments() instead. To be removed before Drupal 8.0.0. - */ - public function addAssets(array $assets) { - return $this->addAttachments($assets); - } - - /** - * Sets assets. - * - * @param array $assets - * The associated assets to be attached. - * - * @return $this - * - * @deprecated Use ::setAttachments() instead. To be removed before Drupal 8.0.0. - */ - public function setAssets(array $assets) { - $this->attachments = $assets; - return $this; - } - /** * Merges two attachments arrays (which live under the '#attached' key). *