function LayoutEntityHelperTraitTest::testGetInlineBlockComponents
Tests get inline block components.
@legacy-covers ::getInlineBlockComponents
Attributes
#[DataProvider('providerSectionsWithInlineComponents')]
File
-
core/
modules/ layout_builder/ tests/ src/ Unit/ LayoutEntityHelperTraitTest.php, line 100
Class
Namespace
Drupal\Tests\layout_builder\UnitCode
public function testGetInlineBlockComponents($sections, $expected_components) : void {
$test_class = new TestClass();
$this->assertSame($expected_components, $test_class->getInlineBlockComponents($sections));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.