summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2017-11-13 15:35:45 (GMT)
committerxjm2017-11-13 15:35:45 (GMT)
commit300d00abd357a455ea0b771be85c9b6c95b9db58 (patch)
tree7c31221d00f80a1aee44ed94729c279a5265aa9d
parentf03cb20eac1fcdbf1e0ac3885126fefe67d7cc57 (diff)
Issue #2920010 by shashikant_chauhan, tedbow, dinarcon, kwhite, xjm: Add Change record to @deprecated for AssetCollectionOptimizerInterface::getAll() and ::deleteAll()
-rw-r--r--core/includes/common.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/includes/common.inc b/core/includes/common.inc
index 565e02a..2c82214 100644
--- a/core/includes/common.inc
+++ b/core/includes/common.inc
@@ -422,6 +422,8 @@ function base_path() {
*
* @deprecated in Drupal 8.x, will be removed before Drupal 9.0.
* Use \Drupal\Core\Asset\AssetCollectionOptimizerInterface::deleteAll().
+ *
+ * @see https://www.drupal.org/node/2317841
*/
function drupal_clear_css_cache() {
\Drupal::service('asset.css.collection_optimizer')->deleteAll();
@@ -739,6 +741,8 @@ function drupal_attach_tabledrag(&$element, array $options) {
*
* @deprecated in Drupal 8.x, will be removed before Drupal 9.0.
* Use \Drupal\Core\Asset\AssetCollectionOptimizerInterface::deleteAll().
+ *
+ * @see https://www.drupal.org/node/2317841
*/
function drupal_clear_js_cache() {
\Drupal::service('asset.js.collection_optimizer')->deleteAll();