function MigrateVocabularyEntityDisplayTest::assertEntity
Same name in other branches
- 10 core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateVocabularyEntityDisplayTest.php \Drupal\Tests\forum\Kernel\Migrate\d6\MigrateVocabularyEntityDisplayTest::assertEntity()
Asserts various aspects of a view display.
@internal
Parameters
string $id: The view display ID.
1 call to MigrateVocabularyEntityDisplayTest::assertEntity()
- MigrateVocabularyEntityDisplayTest::testVocabularyEntityDisplay in core/
modules/ forum/ tests/ src/ Kernel/ Migrate/ d6/ MigrateVocabularyEntityDisplayTest.php - Tests the Drupal 6 vocabulary-node type association to Drupal 8 migration.
File
-
core/
modules/ forum/ tests/ src/ Kernel/ Migrate/ d6/ MigrateVocabularyEntityDisplayTest.php, line 70
Class
- MigrateVocabularyEntityDisplayTest
- Vocabulary entity display migration.
Namespace
Drupal\Tests\forum\Kernel\Migrate\d6Code
protected function assertEntity(string $id) : void {
$display = EntityViewDisplay::load($id);
$this->assertInstanceOf(EntityViewDisplayInterface::class, $display);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.