You are here

protected function DevelQueryDebugTest::getDrupalMessages in Devel 8.2

Same name and namespace in other branches
  1. 8.3 tests/src/Kernel/DevelQueryDebugTest.php \Drupal\Tests\devel\Kernel\DevelQueryDebugTest::getDrupalMessages()
  2. 8 tests/src/Kernel/DevelQueryDebugTest.php \Drupal\Tests\devel\Kernel\DevelQueryDebugTest::getDrupalMessages()
  3. 4.x tests/src/Kernel/DevelQueryDebugTest.php \Drupal\Tests\devel\Kernel\DevelQueryDebugTest::getDrupalMessages()

Retrieves 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 123

Class

DevelQueryDebugTest
Tests query debug.

Namespace

Drupal\Tests\devel\Kernel

Code

protected function getDrupalMessages() {
  return drupal_get_messages();
}