function JSMessageTestController::getTypes
Same name in other branches
- 9 core/modules/system/tests/modules/js_message_test/src/Controller/JSMessageTestController.php \Drupal\js_message_test\Controller\JSMessageTestController::getTypes()
- 10 core/modules/system/tests/modules/js_message_test/src/Controller/JSMessageTestController.php \Drupal\js_message_test\Controller\JSMessageTestController::getTypes()
- 11.x core/modules/system/tests/modules/js_message_test/src/Controller/JSMessageTestController.php \Drupal\js_message_test\Controller\JSMessageTestController::getTypes()
Gets the test types.
Return value
string[] The test types.
2 calls to JSMessageTestController::getTypes()
- JsMessageTest::testAddRemoveMessages in core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ JsMessageTest.php - Test click on links to show messages and remove messages.
- JSMessageTestController::messageLinks in core/
modules/ system/ tests/ modules/ js_message_test/ src/ Controller/ JSMessageTestController.php - Displays links to show messages via Javascript.
File
-
core/
modules/ system/ tests/ modules/ js_message_test/ src/ Controller/ JSMessageTestController.php, line 16
Class
- JSMessageTestController
- Test Controller to show message links.
Namespace
Drupal\js_message_test\ControllerCode
public static function getTypes() {
return [
'status',
'error',
'warning',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.