function BreakpointTest::testGetMultipliers
Same name in other branches
- 9 core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::testGetMultipliers()
- 8.9.x core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::testGetMultipliers()
- 11.x core/modules/breakpoint/tests/src/Unit/BreakpointTest.php \Drupal\Tests\breakpoint\Unit\BreakpointTest::testGetMultipliers()
@covers ::getMultipliers
File
-
core/
modules/ breakpoint/ tests/ src/ Unit/ BreakpointTest.php, line 95
Class
- BreakpointTest
- @coversDefaultClass \Drupal\breakpoint\Breakpoint @group Breakpoint
Namespace
Drupal\Tests\breakpoint\UnitCode
public function testGetMultipliers() : void {
$this->pluginDefinition['multipliers'] = [
'1x',
'2x',
];
$this->setupBreakpoint();
$this->assertSame([
'1x',
'2x',
], $this->breakpoint
->getMultipliers());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.