Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HTMLRestrictions.php

function HTMLRestrictions::getWildcardSubset

Gets the subset of allowed elements whose tags are wildcards.

Return value

\Drupal\ckeditor5\HTMLRestrictions The subset of the given set of HTML restrictions.

File

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

Class

HTMLRestrictions
Represents a set of HTML restrictions.

Namespace

Drupal\ckeditor5

Code

public function getWildcardSubset() : HTMLRestrictions {
    return new self(array_filter($this->elements, [
        __CLASS__,
        'isWildcardTag',
    ], ARRAY_FILTER_USE_KEY));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal