You are here

protected static property Html::$classes in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Utility/Html.php \Drupal\Component\Utility\Html::classes

An array of previously cleaned HTML classes.

Type: array

File

core/lib/Drupal/Component/Utility/Html.php, line 17

Class

Html
Provides DOMDocument helpers for parsing and serializing HTML strings.

Namespace

Drupal\Component\Utility

Code

protected static $classes = [];