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