Commit 3280bad1 authored by Dries's avatar Dries

Issue #2028415 by cam8001: Mark drupal_add_()*() deprecated.

parent f1e9349a
......@@ -1689,6 +1689,8 @@ function drupal_add_html_head_link($attributes, $header = FALSE) {
* @return
* An array of queued cascading stylesheets.
*
* @deprecated as of Drupal 8.0. Use the #attached key in render arrays instead.
*
* @see drupal_get_css()
*/
function drupal_add_css($data = NULL, $options = NULL) {
......@@ -2807,6 +2809,8 @@ function drupal_html_id($id) {
* including Drupal defaults, anything previously added with calls to
* drupal_add_js(), and this function call's additions.
*
* @deprecated as of Drupal 8.0. Use the #attached key in render arrays instead.
*
* @see drupal_get_js()
*/
function drupal_add_js($data = NULL, $options = NULL) {
......
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