protected function PrintFormatTest::getCssIncludeStub in Printer and PDF versions for Drupal 8+ 2.x
Same name and namespace in other branches
- 8 tests/src/Unit/Plugin/PrintableFormat/PrintFormatTest.php \Drupal\Tests\printable\Unit\Plugin\PrintableFormat\PrintFormatTest::getCssIncludeStub()
Get the CSS include stub.
6 calls to PrintFormatTest::getCssIncludeStub()
- PrintFormatTest::testDefaultConfiguration in tests/
src/ Unit/ Plugin/ PrintableFormat/ PrintFormatTest.php - Tests getting the default configuration for this plugin.
- PrintFormatTest::testGetConfiguration in tests/
src/ Unit/ Plugin/ PrintableFormat/ PrintFormatTest.php - Tests getting the current configuration for this plugin.
- PrintFormatTest::testGetDescription in tests/
src/ Unit/ Plugin/ PrintableFormat/ PrintFormatTest.php - Tests getting the plugin description from the plugin.
- PrintFormatTest::testGetLabel in tests/
src/ Unit/ Plugin/ PrintableFormat/ PrintFormatTest.php - Tests getting the plugin label from the plugin.
- PrintFormatTest::testGetPassedInConfiguration in tests/
src/ Unit/ Plugin/ PrintableFormat/ PrintFormatTest.php - Tests that additional configuration is internally stored and accessible.
File
- tests/
src/ Unit/ Plugin/ PrintableFormat/ PrintFormatTest.php, line 148
Class
- PrintFormatTest
- Tests the print format plugin.
Namespace
Drupal\Tests\printable\Unit\Plugin\PrintableFormatCode
protected function getCssIncludeStub() {
return $this
->getMockBuilder('Drupal\\printable\\PrintableCssIncludeInterface')
->disableOriginalConstructor()
->getMock();
}