function LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections
Same name and namespace in other branches
- 11.x core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Unit\LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections()
- 10 core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Unit\LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections()
- 9 core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Unit\LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections()
- 8.9.x core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Unit\LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections()
Tests get inline block revision ids in sections.
Attributes
#[DataProvider('providerSectionsWithInlineComponents')]
File
-
core/
modules/ layout_builder/ tests/ src/ Unit/ LayoutEntityHelperTraitTest.php, line 107
Class
Namespace
Drupal\Tests\layout_builder\UnitCode
public function testGetInlineBlockRevisionIdsInSections(array $sections, array $components, array $expected_revision_ids) : void {
$test_class = new TestClass();
$this->assertSame($expected_revision_ids, $test_class->getInlineBlockRevisionIdsInSections($sections));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.