protected function MigrateFieldFormatterSettingsTest::assertEntity in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateFieldFormatterSettingsTest::assertEntity()
- 9 core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php \Drupal\Tests\field\Kernel\Migrate\d7\MigrateFieldFormatterSettingsTest::assertEntity()
Asserts various aspects of a view display.
@internal
Parameters
string $id: The view display ID.
1 call to MigrateFieldFormatterSettingsTest::assertEntity()
- MigrateFieldFormatterSettingsTest::testMigration in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFieldFormatterSettingsTest.php - Tests migration of D7 field formatter settings.
File
- core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFieldFormatterSettingsTest.php, line 49
Class
- MigrateFieldFormatterSettingsTest
- Tests migration of D7 field formatter settings.
Namespace
Drupal\Tests\field\Kernel\Migrate\d7Code
protected function assertEntity(string $id) : void {
$display = EntityViewDisplay::load($id);
$this
->assertInstanceOf(EntityViewDisplayInterface::class, $display);
}