HTMLRestrictions::$unrestricted

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

Whether unrestricted, in other words: arbitrary HTML allowed.

Used for when FilterFormatInterface::getHTMLRestrictions() returns `FALSE`, e.g. in case of the default "Full HTML" text format.

Type: bool

See also

\Drupal\filter\Plugin\FilterInterface::getHTMLRestrictions()

File

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

Class

HTMLRestrictions
Represents a set of HTML restrictions.

Namespace

Drupal\ckeditor5

Code

private $unrestricted = FALSE;

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