class ClassRouteLocalizedPaths
Same name and namespace in other branches
- main core/tests/Drupal/Tests/Core/Routing/UnsupportedRouteAttributePropertiesTest.php \Drupal\Tests\Core\Routing\ClassRouteLocalizedPaths
Test class.
Attributes
#[Route([
'de' => 'prefix/',
])]
Hierarchy
- class \Drupal\Tests\Core\Routing\ClassRouteLocalizedPaths
Expanded class hierarchy of ClassRouteLocalizedPaths
File
-
core/
tests/ Drupal/ Tests/ Core/ Routing/ UnsupportedRouteAttributePropertiesTest.php, line 122
Namespace
Drupal\Tests\Core\RoutingView source
class ClassRouteLocalizedPaths {
public function attributeMethod() : array {
return [
'#markup' => 'Testing method with a Route attribute',
];
}
}
Members
| Title Sort descending | Modifiers | Object type | Summary |
|---|---|---|---|
| ClassRouteLocalizedPaths::attributeMethod | public | function | #[Route('/test_method_attribute')] |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.