Search for test
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Test | class | core/ |
Provides test media source. |
| Test | class | core/ |
Defines a test controller for page titles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| LinkFieldUITest::$adminUser | property | core/ |
A user that can edit content types. |
| LinkFieldUITest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| LinkFieldUITest::$firstContentType | property | core/ |
The first content type to add fields to. |
| LinkFieldUITest::$helpTextUser | property | core/ |
A user that should see the help texts. |
| LinkFieldUITest::$modules | property | core/ |
Modules to enable. |
| LinkFieldUITest::$secondContentType | property | core/ |
The second content type to add fields to. |
| LinkFieldUITest::assertFieldContainsRawText | function | core/ |
Checks that given field contains the given raw text. |
| LinkFieldUITest::assertNoFieldContainsRawText | function | core/ |
Checks that given field does not contain the given raw text. |
| LinkFieldUITest::getFieldHtml | function | core/ |
Returns the raw HTML for the given field. |
| LinkFieldUITest::providerTestFieldUI | function | core/ |
Provides test data for ::testFieldUI(). |
| LinkFieldUITest::runFieldUIItem | function | core/ |
Tests one link field UI item. |
| LinkFieldUITest::setUp | function | core/ |
|
| LinkFieldUITest::testFieldUI | function | core/ |
Tests the link field UI. |
| LinkGenerationTest | class | core/ |
Tests link generation with hooks. |
| LinkGenerationTest.php | file | core/ |
|
| LinkGenerationTest::$modules | property | core/ |
Modules to enable. |
| LinkGenerationTest::testHookLinkAlter | function | core/ |
Tests how hook_link_alter() can affect escaping of the link text. |
| LinkGeneratorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Utility\LinkGenerator[[api-linebreak]] @group Utility |
| LinkGeneratorTest.php | file | core/ |
|
| LinkGeneratorTest::$defaultOptions | property | core/ |
Contains the LinkGenerator default options. |
| LinkGeneratorTest::$linkGenerator | property | core/ |
The tested link generator. |
| LinkGeneratorTest::$moduleHandler | property | core/ |
The mocked module handler. |
| LinkGeneratorTest::$renderer | property | core/ |
The mocked renderer service. |
| LinkGeneratorTest::$urlAssembler | property | core/ |
The mocked URL Assembler service. |
| LinkGeneratorTest::$urlGenerator | property | core/ |
The mocked url generator. |
| LinkGeneratorTest::assertLink | function | core/ |
Checks that a link with certain properties exists in a given HTML snippet. |
| LinkGeneratorTest::assertNoXPathResults | function | core/ |
Checks that the given XPath query has no results in a given HTML snippet. |
| LinkGeneratorTest::providerTestGenerateHrefs | function | core/ |
Provides test data for testing the link method. |
| LinkGeneratorTest::setUp | function | core/ |
|
| LinkGeneratorTest::testGenerate | function | core/ |
Tests the generate() method with a route. |
| LinkGeneratorTest::testGenerateActive | function | core/ |
Tests the active class on the link method. |
| LinkGeneratorTest::testGenerateAttributes | function | core/ |
Tests the link method with additional attributes. |
| LinkGeneratorTest::testGenerateBubbleableMetadata | function | core/ |
Tests the LinkGenerator's support for collecting bubbleable metadata. |
| LinkGeneratorTest::testGenerateButton | function | core/ |
Tests the generate() method with the <button> route. |
| LinkGeneratorTest::testGenerateExternal | function | core/ |
Tests the generate() method with an external URL. |
| LinkGeneratorTest::testGenerateHrefs | function | core/ |
Tests the link method with certain hrefs. |
| LinkGeneratorTest::testGenerateNoLink | function | core/ |
Tests the generate() method with the <nolink> route. |
| LinkGeneratorTest::testGenerateNone | function | core/ |
Tests the generate() method with the <none> route. |
| LinkGeneratorTest::testGenerateOptions | function | core/ |
Tests the link method with arbitrary passed options. |
| LinkGeneratorTest::testGenerateParametersAsQuery | function | core/ |
Tests the link method with passed query options via parameters. |
| LinkGeneratorTest::testGenerateQuery | function | core/ |
Tests the link method with passed query options. |
| LinkGeneratorTest::testGenerateTwice | function | core/ |
Tests whether rendering the same link twice works. |
| LinkGeneratorTest::testGenerateUrlWithQuotes | function | core/ |
Tests the generate() method with a url containing double quotes. |
| LinkGeneratorTest::testGenerateWithAlterHook | function | core/ |
Tests altering the URL object using hook_link_alter(). |
| LinkGeneratorTest::testGenerateWithHtml | function | core/ |
Tests the link method with html. |
| LinkGeneratorTest::testGenerateXss | function | core/ |
Tests the link method with a script tab. |
| LinkItemSerializationTest | class | core/ |
Tests link field serialization. |
| LinkItemSerializationTest.php | file | core/ |
|
| LinkItemSerializationTest::$modules | property | core/ |
Modules to enable. |
| LinkItemSerializationTest::$serializer | property | core/ |
The serializer service. |
Pagination
- Previous page
- Page 402
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.