',
+ ],
+ ],
+ ],
+ ]);
+ $format->save();
+ $editor = Editor::create([
+ 'format' => 'restricted_with_editor',
+ 'editor' => 'unicorn',
+ ]);
+ $editor->save();
+ $format = FilterFormat::create([
+ 'format' => 'restricted_plus_dangerous_tag_with_editor',
+ 'name' => 'Restricted HTML, dangerous tag allowed, with text editor',
+ 'weight' => 1,
+ 'filters' => [
+ // A filter of the FilterInterface::TYPE_HTML_RESTRICTOR type.
+ 'filter_html' => [
+ 'status' => 1,
+ 'settings' => [
+ 'allowed_html' => '