You are here

public function AjaxCssForm::addCssInline in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php \Drupal\ckeditor_test\Form\AjaxCssForm::addCssInline()
  2. 10 core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php \Drupal\ckeditor_test\Form\AjaxCssForm::addCssInline()

Handles the AJAX request to add CSS to the inline editor.

Return value

\Drupal\Core\Ajax\AjaxResponse An AJAX response.

File

core/modules/ckeditor/tests/modules/src/Form/AjaxCssForm.php, line 99

Class

AjaxCssForm
A form for testing delivery of CSS to CKEditor via AJAX.

Namespace

Drupal\ckeditor_test\Form

Code

public function addCssInline() {
  return $this
    ->generateResponse('edit-inline');
}