public function ConfigTest::provideGetMessageText in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php \Drupal\Tests\Composer\Plugin\ProjectMessage\ConfigTest::provideGetMessageText()
- 10 core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php \Drupal\Tests\Composer\Plugin\ProjectMessage\ConfigTest::provideGetMessageText()
File
- core/
tests/ Drupal/ Tests/ Composer/ Plugin/ ProjectMessage/ ConfigTest.php, line 25
Class
- ConfigTest
- @coversDefaultClass Drupal\Composer\Plugin\ProjectMessage\Message @group ProjectMessage
Namespace
Drupal\Tests\Composer\Plugin\ProjectMessageCode
public function provideGetMessageText() {
return [
[
[],
[],
],
[
[
'Special',
'File',
],
[
'drupal-core-project-message' => [
'event-name-file' => vfsStream::url('config_test/bespoke/special_file.txt'),
],
],
],
[
[
'I am the message.',
],
[
'drupal-core-project-message' => [
'event-name-message' => [
'I am the message.',
],
],
],
],
[
[
'This message overrides file.',
],
[
'drupal-core-project-message' => [
'event-name-message' => [
'This message overrides file.',
],
'event-name-file' => vfsStream::url('config_test/bespoke/special_file.txt'),
],
],
],
];
}