function MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible
Same name in this branch
- 8.9.x core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible()
Same name in other branches
- 9 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible()
- 9 core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible()
- 10 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible()
- 10 core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible()
- 11.x core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible()
- 11.x core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible()
Asserts that the comment subject field is not visible for a node type.
Parameters
string $id: The entity form display ID.
1 call to MigrateCommentEntityFormDisplaySubjectTest::assertSubjectNotVisible()
- MigrateCommentEntityFormDisplaySubjectTest::testMigration in core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d7/ MigrateCommentEntityFormDisplaySubjectTest.php - Tests the migrated display configuration.
File
-
core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d7/ MigrateCommentEntityFormDisplaySubjectTest.php, line 49
Class
- MigrateCommentEntityFormDisplaySubjectTest
- Tests the migration of comment form's subject display from Drupal 7.
Namespace
Drupal\Tests\comment\Kernel\Migrate\d7Code
protected function assertSubjectNotVisible($id) {
$component = EntityFormDisplay::load($id)->getComponent('subject');
$this->assertNull($component);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.