Issue #2505941 by JeroenT, joshi.rohit100: Remove deprecated methods on BubbleableMetadata class

8.0.x
Alex Pott 2015-06-24 06:33:50 -05:00
parent 8b4bc7df8f
commit 5217ef8c50
1 changed files with 0 additions and 40 deletions

View File

@ -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).
*