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

Breadcrumb

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

function HTMLRestrictions::unrestricted

Constructs an unrestricted set of HTML restrictions.

Return value

\Drupal\ckeditor5\HTMLRestrictions

1 call to HTMLRestrictions::unrestricted()
HTMLRestrictions::fromObjectWithHtmlRestrictions in core/modules/ckeditor5/src/HTMLRestrictions.php
Constructs a set of HTML restrictions matching the given object.

File

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

Class

HTMLRestrictions
Represents a set of HTML restrictions.

Namespace

Drupal\ckeditor5

Code

private static function unrestricted() : self {
    $restrictions = HTMLRestrictions::emptySet();
    $restrictions->unrestricted = TRUE;
    return $restrictions;
}

API Navigation

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