public function TestContent::test1 in JSON Web Token Authentication (JWT) 8
Provides example content for testing route enhancers.
1 string reference to 'TestContent::test1'
- jwt_test.routing.yml in tests/
modules/ jwt_test/ jwt_test.routing.yml - tests/modules/jwt_test/jwt_test.routing.yml
File
- tests/
modules/ jwt_test/ src/ Controller/ TestContent.php, line 15
Class
- TestContent
- Test content.
Namespace
Drupal\jwt_test\ControllerCode
public function test1() {
return [
'#markup' => 'abcde',
];
}