function ConfigTest::provideGetMessageText
Same name in other branches
- 9 core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php \Drupal\Tests\Composer\Plugin\ProjectMessage\ConfigTest::provideGetMessageText()
- 8.9.x core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php \Drupal\Tests\Composer\Plugin\ProjectMessage\ConfigTest::provideGetMessageText()
- 11.x 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 27
Class
- ConfigTest
- @coversDefaultClass Drupal\Composer\Plugin\ProjectMessage\Message @group ProjectMessage
Namespace
Drupal\Tests\Composer\Plugin\ProjectMessageCode
public static 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'),
],
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.