27 calls to TokenTestTrait::assertTokens() in Token 8
- ArrayTest::testArrayTokens in tests/
src/ Kernel/ ArrayTest.php - BookTest::testBookTokens in tests/
src/ Kernel/ BookTest.php - CommentTest::testCommentTokens in tests/
src/ Kernel/ CommentTest.php - DateTest::testDateTokens in tests/
src/ Kernel/ DateTest.php - EntityTest::testEntityOriginal in tests/
src/ Kernel/ EntityTest.php - Test the [entity:original:*] tokens.
- FieldTest::testBaseFieldTokens in tests/
src/ Kernel/ FieldTest.php - Test that tokens are properly created for an entity's base fields.
- FieldTest::testDatetimeFieldTokens in tests/
src/ Kernel/ FieldTest.php - Tests support for a datetime fields.
- FieldTest::testDatetimeRangeFieldTokens in tests/
src/ Kernel/ FieldTest.php - Tests support for a daterange fields.
- FieldTest::testEntityFieldTokens in tests/
src/ Kernel/ FieldTest.php - Tests [entity:field_name] tokens.
- FieldTest::testEntityReferenceTokens in tests/
src/ Kernel/ FieldTest.php - FieldTest::testEntityReferenceTokensCardinality in tests/
src/ Kernel/ FieldTest.php - Tests support for cardinality > 1 for entity reference tokens.
- FieldTest::testMultilingualFields in tests/
src/ Kernel/ FieldTest.php - Test tokens for multilingual fields and entities.
- FieldTest::testTimestampFieldTokens in tests/
src/ Kernel/ FieldTest.php - Tests support for a timestamp fields.
- FieldTest::testTokenViewMode in tests/
src/ Kernel/ FieldTest.php - Test tokens on node with the token view mode overriding default formatters.
- FileTest::testFileTokens in tests/
src/ Kernel/ FileTest.php - NodeTest::testNodeTokens in tests/
src/ Kernel/ NodeTest.php - RandomTest::testRandomTokens in tests/
src/ Kernel/ RandomTest.php - TaxonomyTest::testMultilingualTerms in tests/
src/ Kernel/ TaxonomyTest.php - Test the multilingual terms.
- TaxonomyTest::testTaxonomyTokens in tests/
src/ Kernel/ TaxonomyTest.php - Test the additional taxonomy term tokens.
- TaxonomyTest::testVocabularyTokens in tests/
src/ Kernel/ TaxonomyTest.php - Test the additional vocabulary tokens.
- TokenFieldUiTest::testImageFieldTokens in tests/
src/ Functional/ TokenFieldUiTest.php - Test that tokens are correctly provided and replaced for the image fields.
- TokenMenuTest::testMenuLinkParentsToken in tests/
src/ Functional/ TokenMenuTest.php - Tests menu link parents token.
- TokenMenuTest::testMenuTokens in tests/
src/ Functional/ TokenMenuTest.php - TokenMenuTest::testMultilingualMenu in tests/
src/ Functional/ TokenMenuTest.php - Tests that the module doesn't affect integrity of the menu, when translating them and that menu links tokens are correct.
- TokenTestTrait::assertToken in tests/
src/ Functional/ TokenTestTrait.php - TokenURLTest::testURLTokens in tests/
src/ Functional/ TokenURLTest.php - TokenUserTest::testUserTokens in tests/
src/ Functional/ TokenUserTest.php - Tests the user releated tokens.