Xss::attributes
protected static function Xss::attributes
protected static Xss::attributes($attributes)
Processes a string of HTML attributes.
Parameters
string $attributes: The html attribute to process.
Return value
string Cleaned up version of the HTML attributes.
File
- core/lib/Drupal/Component/Utility/Xss.php, line 198
Class
- Xss
- Provides helper to filter for cross-site scripting.