public function AjaxTestController::dialogContents

Returns example content for dialog testing.

1 string reference to 'AjaxTestController::dialogContents'
ajax_test.routing.yml in drupal/core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml
drupal/core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml

File

drupal/core/modules/system/tests/modules/ajax_test/lib/Drupal/ajax_test/AjaxTestController.php, line 18
Contains \Drupal\ajax_test\AjaxTestController.

Class

AjaxTestController
Provides content for dialog tests.

Namespace

Drupal\ajax_test

Code

public function dialogContents() {

  // Re-use the utility method that returns the example content.
  drupal_set_title(t('AJAX Dialog contents'));
  return ajax_test_dialog_contents();
}