function HTMLRestrictions::getHtml5ElementList

Gets a list of all known HTML5 elements.

Return value

string[] An array of HTML5 element tags.

File

core/modules/ckeditor5/src/HTMLRestrictions.php, line 1373

Class

HTMLRestrictions
Represents a set of HTML restrictions.

Namespace

Drupal\ckeditor5

Code

private static function getHtml5ElementList() : array {
  return array_keys(Elements::$html5);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.