Skip to content
Snippets Groups Projects
Commit 0287c86c authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2361799 by Palashvijay4O | rpayanm: Remove drupal_strlen.

parent 104f1dc1
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -187,23 +187,6 @@ function mime_header_decode($header) {
return Unicode::mimeHeaderDecode($header);
}
/**
* Counts the number of characters in a UTF-8 string.
*
* @param $text
* The string to run the operation on.
*
* @return integer
* The length of the string.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.0.
* Use \Drupal\Component\Utility\Unicode::strlen().
* @ingroup php_wrappers
*/
function drupal_strlen($text) {
return Unicode::strlen($text);
}
/**
* Cuts off a piece of a string based on character indices and counts.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment