protected function FieldFormatterSettingsTest::assertEntity in Commerce Migrate 8.2
Same name in this branch
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc7/FieldFormatterSettingsTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\FieldFormatterSettingsTest::assertEntity()
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldFormatterSettingsTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\FieldFormatterSettingsTest::assertEntity()
- 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/FieldFormatterSettingsTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\FieldFormatterSettingsTest::assertEntity()
Same name and namespace in other branches
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldFormatterSettingsTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\FieldFormatterSettingsTest::assertEntity()
- 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldFormatterSettingsTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\FieldFormatterSettingsTest::assertEntity()
Asserts various aspects of a view display.
Parameters
string $id: The view display ID.
1 call to FieldFormatterSettingsTest::assertEntity()
- FieldFormatterSettingsTest::testEntityDisplaySettings in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc6/ FieldFormatterSettingsTest.php - Test that product entity display are migrated to product entities.
File
- modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc6/ FieldFormatterSettingsTest.php, line 46
Class
- FieldFormatterSettingsTest
- Migrate field instance tests.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6Code
protected function assertEntity($id) {
$display = EntityViewDisplay::load($id);
$this
->assertInstanceOf(EntityViewDisplayInterface::class, $display);
}