function ModerationStateTaxonomyTermTest::setUp
Sets the test up.
Overrides ModerationStateTestBase::setUp
File
-
core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateTaxonomyTermTest.php, line 26
Class
- ModerationStateTaxonomyTermTest
- Tests the taxonomy term moderation handler.
Namespace
Drupal\Tests\content_moderation\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create a "Tags" vocabulary.
$bundle = Vocabulary::create([
'vid' => 'tags',
'name' => 'Tags',
'new_revision' => FALSE,
])->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.