function HTMLRestrictions::emptySet
Same name in other branches
- 10 core/modules/ckeditor5/src/HTMLRestrictions.php \Drupal\ckeditor5\HTMLRestrictions::emptySet()
- 11.x core/modules/ckeditor5/src/HTMLRestrictions.php \Drupal\ckeditor5\HTMLRestrictions::emptySet()
Creates the empty set of HTML restrictions: nothing is allowed.
Return value
\Drupal\ckeditor5\HTMLRestrictions
11 calls to HTMLRestrictions::emptySet()
- CKEditor4to5UpgradeCompletenessTest::testButtons in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor4to5UpgradeCompletenessTest.php - Tests that all CKEditor 4 buttons in core have an upgrade path.
- CKEditor4to5UpgradeCompletenessTest::testLyingUpgradePluginForCKEditor4Button in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor4to5UpgradeCompletenessTest.php - Tests detecting a lying upgrade plugin cke4_button annotation.
- CKEditor4to5UpgradeCompletenessTest::testOnlyOneUpgradePluginAllowedPerCKEditor4Button in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor4to5UpgradeCompletenessTest.php - Tests that only one plugin can provide an upgrade path for a button.
- CKEditor4to5UpgradeCompletenessTest::testOnlyOneUpgradePluginAllowedPerCKEditor4PluginSettings in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor4to5UpgradeCompletenessTest.php - Tests that only one plugin can provide an upgrade path for plugin settings.
- CKEditor5PluginManager::getProvidedElements in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginManager.php - Gets all supported elements for the given plugins and text editor.
File
-
core/
modules/ ckeditor5/ src/ HTMLRestrictions.php, line 397
Class
- HTMLRestrictions
- Represents a set of HTML restrictions.
Namespace
Drupal\ckeditor5Code
public static function emptySet() : HTMLRestrictions {
return new self([]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.