HTMLRestrictions::WILDCARD_ELEMENT_METHODS

Same name in other branches
  1. 9 core/modules/ckeditor5/src/HTMLRestrictions.php \Drupal\ckeditor5\HTMLRestrictions::WILDCARD_ELEMENT_METHODS
  2. 11.x core/modules/ckeditor5/src/HTMLRestrictions.php \Drupal\ckeditor5\HTMLRestrictions::WILDCARD_ELEMENT_METHODS

Wildcard types, and the methods that return tags the wildcard represents.

File

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

Class

HTMLRestrictions
Represents a set of HTML restrictions.

Namespace

Drupal\ckeditor5

Code

private const WILDCARD_ELEMENT_METHODS = [
    '$any-html5-element' => 'getHtml5ElementList',
    '$text-container' => 'getTextContainerElementList',
];

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