function SectionStorageManagerTest::testLoadEmpty
Tests load empty.
@legacy-covers ::loadEmpty
File
-
core/
modules/ layout_builder/ tests/ src/ Unit/ SectionStorageManagerTest.php, line 95
Class
Namespace
Drupal\Tests\layout_builder\UnitCode
public function testLoadEmpty() : void {
$result = $this->manager
->loadEmpty('the_plugin_id');
$this->assertInstanceOf(SectionStorageInterface::class, $result);
$this->assertSame($this->plugin
->reveal(), $result);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.