public function MigrateTestBase::startCollectingMessages in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::startCollectingMessages()
- 10 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::startCollectingMessages()
Start collecting messages and erase previous messages.
9 calls to MigrateTestBase::startCollectingMessages()
- MigrateDefaultLanguageTest::testMigrationWithExistingLanguage in core/
modules/ language/ tests/ src/ Kernel/ Migrate/ d7/ MigrateDefaultLanguageTest.php - Tests language_default migration with a non-existing language.
- MigrateDefaultLanguageTest::testMigrationWithExistingLanguage in core/
modules/ language/ tests/ src/ Kernel/ Migrate/ d6/ MigrateDefaultLanguageTest.php - Tests language_default migration with an existing language.
- MigrateDefaultLanguageTest::testMigrationWithNonExistentLanguage in core/
modules/ language/ tests/ src/ Kernel/ Migrate/ d7/ MigrateDefaultLanguageTest.php - Tests language_default migration with a non-existing language.
- MigrateDefaultLanguageTest::testMigrationWithNonExistentLanguage in core/
modules/ language/ tests/ src/ Kernel/ Migrate/ d6/ MigrateDefaultLanguageTest.php - Tests language_default migration with a non-existing language.
- MigrateDefaultLanguageTest::testMigrationWithUnsetVariable in core/
modules/ language/ tests/ src/ Kernel/ Migrate/ d7/ MigrateDefaultLanguageTest.php - Tests language_default migration with unset default language variable.
File
- core/
modules/ migrate/ tests/ src/ Kernel/ MigrateTestBase.php, line 215
Class
- MigrateTestBase
- Creates abstract base class for migration tests.
Namespace
Drupal\Tests\migrate\KernelCode
public function startCollectingMessages() {
$this->collectMessages = TRUE;
$this->migrateMessages = [];
}