Commit 5217ef8c authored by alexpott's avatar alexpott

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

parent 8b4bc7df
......@@ -73,46 +73,6 @@ public static function createFromRenderArray(array $build) {
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).
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment