public function AjaxCssForm::addCssIframe in Drupal 10
Same name and namespace in other branches
- 8 core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php \Drupal\ckeditor_test\Form\AjaxCssForm::addCssIframe()
- 9 core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php \Drupal\ckeditor_test\Form\AjaxCssForm::addCssIframe()
Handles the AJAX request to add CSS to the iframe editor.
Return value
\Drupal\Core\Ajax\AjaxResponse An AJAX response.
File
- core/
modules/ ckeditor/ tests/ modules/ src/ Form/ AjaxCssForm.php, line 134
Class
- AjaxCssForm
- A form for testing delivery of CSS to CKEditor via AJAX.
Namespace
Drupal\ckeditor_test\FormCode
public function addCssIframe() {
return $this
->generateResponse('edit-iframe-value');
}