Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / themes / contrib / bootstrap / src / Utility / Unicode.php
index 685476e7890504db7a46f34ba9b66f2546b7ef2c..f0d507e3877ca96e2674903ab1c5e4e90bba5221 100644 (file)
@@ -1,12 +1,9 @@
 <?php
-/**
- * @file
- * Contains \Drupal\bootstrap\Utility\Unicode.
- */
 
 namespace Drupal\bootstrap\Utility;
 
 use Drupal\bootstrap\Bootstrap;
+use Drupal\Component\Utility\Unicode as CoreUnicode;
 use Drupal\Component\Utility\Xss;
 
 /**
@@ -14,7 +11,7 @@ use Drupal\Component\Utility\Xss;
  *
  * @ingroup utility
  */
-class Unicode extends \Drupal\Component\Utility\Unicode {
+class Unicode extends CoreUnicode {
 
   /**
    * Extracts the hook name from a function name.
@@ -70,10 +67,10 @@ class Unicode extends \Drupal\Component\Utility\Unicode {
    *
    * @param string $string
    *   The string of text to check "simple" criteria on.
-   * @param int|FALSE $length
+   * @param int|false $length
    *   The length of characters used to determine whether or not $string is
    *   considered "simple". Set explicitly to FALSE to disable this criteria.
-   * @param array|FALSE $allowed_tags
+   * @param array|false $allowed_tags
    *   An array of allowed tag elements. Set explicitly to FALSE to disable this
    *   criteria.
    * @param bool $html