function BlockContentCacheTest::setUp
Overrides KernelTestBase::setUp
File
-
core/
modules/ block_content/ tests/ src/ Kernel/ BlockContentCacheTest.php, line 31
Class
- BlockContentCacheTest
- Tests cache metadata for BlockContentBlock plugin.
Namespace
Drupal\Tests\block_content\KernelCode
public function setUp() : void {
parent::setUp();
$this->installEntitySchema('user');
$this->installEntitySchema('block_content');
$this->createBlockContentType([
'id' => 'basic',
'label' => 'Basic',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.