Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
68af24db
Commit
68af24db
authored
Feb 28, 2015
by
alexpott
Browse files
Issue
#2407407
by JeroenT, vedpareek: Remove drupal_clean_id_identifier
parent
729966c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/includes/common.inc
View file @
68af24db
...
...
@@ -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.
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment