You are here

protected static function TokenTreeTable::cleanCssIdentifier in Token 8

1 call to TokenTreeTable::cleanCssIdentifier()
TokenTreeTable::formatRow in src/Element/TokenTreeTable.php

File

src/Element/TokenTreeTable.php, line 111

Class

TokenTreeTable
Provides a render element for a token tree table.

Namespace

Drupal\token\Element

Code

protected static function cleanCssIdentifier($id) {
  return 'token-' . Html::cleanCssIdentifier(trim($id, '[]'), static::$cssFilter);
}