function LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections

Same name in other branches
  1. 8.9.x core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Unit\LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections()
  2. 10 core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Unit\LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections()
  3. 11.x core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php \Drupal\Tests\layout_builder\Unit\LayoutEntityHelperTraitTest::testGetInlineBlockRevisionIdsInSections()

@covers ::getInlineBlockRevisionIdsInSections

@dataProvider providerSectionsWithInlineComponents

File

core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php, line 103

Class

LayoutEntityHelperTraitTest
@coversDefaultClass \Drupal\layout_builder\LayoutEntityHelperTrait

Namespace

Drupal\Tests\layout_builder\Unit

Code

public function testGetInlineBlockRevisionIdsInSections($sections, $components, $expected_revision_ids) {
    $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.