Commit 68af24db authored by alexpott's avatar alexpott

Issue #2407407 by JeroenT, vedpareek: Remove drupal_clean_id_identifier

parent 729966c4
......@@ -636,27 +636,6 @@ function drupal_html_id($id) {
return Html::getUniqueId($id);
}
/**
* Prepares a string for use as a valid HTML ID.
*
* Only use this function when you want to intentionally skip the uniqueness
* guarantee of drupal_html_id().
*
* @param string $id
* The ID to clean.
*
* @return string
* The cleaned ID.
*
* @see drupal_html_id()
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.0.
* Use \Drupal\Component\Utility\Html::getId()
*/
function drupal_clean_id_identifier($id) {
return Html::getId($id);
}
/**
* Constructs an array of the defaults that are used for JavaScript assets.
*
......
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