class ClassRouteLocale
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Routing/UnsupportedRouteAttributePropertiesTest.php \Drupal\Tests\Core\Routing\ClassRouteLocale
Test class.
Attributes
#[Route(locale: 'de')]
Hierarchy
- class \Drupal\Tests\Core\Routing\ClassRouteLocale
Expanded class hierarchy of ClassRouteLocale
File
-
core/
tests/ Drupal/ Tests/ Core/ Routing/ UnsupportedRouteAttributePropertiesTest.php, line 109
Namespace
Drupal\Tests\Core\RoutingView source
class ClassRouteLocale {
public function attributeMethod() : array {
return [
'#markup' => 'Testing method with a Route attribute',
];
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.