protected function PrintFormatTest::getLinkExtractorIncludeStub 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::getLinkExtractorIncludeStub()
Get the Link extractor stub.
6 calls to PrintFormatTest::getLinkExtractorIncludeStub()
- 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 157
Class
- PrintFormatTest
- Tests the print format plugin.
Namespace
Drupal\Tests\printable\Unit\Plugin\PrintableFormatCode
protected function getLinkExtractorIncludeStub() {
return $this
->getMockBuilder('Drupal\\printable\\LinkExtractor\\LinkExtractorInterface')
->disableOriginalConstructor()
->getMock();
}