function SectionTest::testGetThirdPartyProviders
Same name in other branches
- 9 core/modules/layout_builder/tests/src/Unit/SectionTest.php \Drupal\Tests\layout_builder\Unit\SectionTest::testGetThirdPartyProviders()
- 8.9.x core/modules/layout_builder/tests/src/Unit/SectionTest.php \Drupal\Tests\layout_builder\Unit\SectionTest::testGetThirdPartyProviders()
- 10 core/modules/layout_builder/tests/src/Unit/SectionTest.php \Drupal\Tests\layout_builder\Unit\SectionTest::testGetThirdPartyProviders()
@covers ::getThirdPartyProviders
File
-
core/
modules/ layout_builder/ tests/ src/ Unit/ SectionTest.php, line 367
Class
- SectionTest
- @coversDefaultClass \Drupal\layout_builder\Section @group layout_builder
Namespace
Drupal\Tests\layout_builder\UnitCode
public function testGetThirdPartyProviders() : void {
$this->assertSame([
'bad_judgement',
'hunt_and_peck',
], $this->section
->getThirdPartyProviders());
$this->section
->unsetThirdPartySetting('hunt_and_peck', 'delay');
$this->assertSame([
'bad_judgement',
], $this->section
->getThirdPartyProviders());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.