public function LegacyMessengerTest::addMessageDataProvider in Service Container 7.2
Same name and namespace in other branches
- 8 tests/src/Messenger/LegacyMessengerTest.php \Drupal\Tests\service_container\Messenger\LegacyMessengerTest::addMessageDataProvider()
- 7 tests/src/Messenger/LegacyMessengerTest.php \Drupal\Tests\service_container\Messenger\LegacyMessengerTest::addMessageDataProvider()
Data Provider for addMessage().
File
- tests/
src/ Messenger/ LegacyMessengerTest.php, line 93 - Contains \Drupal\Tests\service_container\Messenger\LegacyMessengerTest.
Class
- LegacyMessengerTest
- @coversDefaultClass \Drupal\service_container\Messenger\LegacyMessenger
Namespace
Drupal\Tests\service_container\MessengerCode
public function addMessageDataProvider() {
return array(
array(
'status',
'Hello Status!',
FALSE,
),
array(
'status',
'Hello Status!',
TRUE,
),
array(
'warning',
'Hello World!',
FALSE,
),
array(
'warning',
'Hello World!',
TRUE,
),
array(
'error',
'Hello Error!',
FALSE,
),
array(
'error',
'Hello Error!',
TRUE,
),
);
}