function DevelQueryDebugTest::getDrupalMessages
Same name in other branches
- 8.x-1.x tests/src/Kernel/DevelQueryDebugTest.php \Drupal\Tests\devel\Kernel\DevelQueryDebugTest::getDrupalMessages()
- 5.x tests/src/Kernel/DevelQueryDebugTest.php \Drupal\Tests\devel\Kernel\DevelQueryDebugTest::getDrupalMessages()
Retrieves and removes the drupal messages.
Return value
array The messages
2 calls to DevelQueryDebugTest::getDrupalMessages()
- DevelQueryDebugTest::testEntityQueryDebugTag in tests/
src/ Kernel/ DevelQueryDebugTest.php - Tests devel_query_debug_alter() for entity queries.
- DevelQueryDebugTest::testSelectQueryDebugTag in tests/
src/ Kernel/ DevelQueryDebugTest.php - Tests devel_query_debug_alter() for select queries.
File
-
tests/
src/ Kernel/ DevelQueryDebugTest.php, line 133
Class
- DevelQueryDebugTest
- Tests query debug.
Namespace
Drupal\Tests\devel\KernelCode
protected function getDrupalMessages() {
return $this->messenger()
->deleteAll();
}