/** * Test that tokens are generated only for content entities. */ public function testContentEntityOnlyTokens() { // Verify that type and token info for a config entity is not generated. $this->assertNull($this->tokenService->getTokenInfo('user_role', 'original')); $this->assertNull($this->tokenService->getTokenInfo('user_role', 'url')); $this->assertNull($this->tokenService->getTypeInfo('user_role')); }