class MethodRouteMissingName
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Routing/UnsupportedRouteAttributePropertiesTest.php \Drupal\Tests\Core\Routing\MethodRouteMissingName
Test class.
Attributes
#[Route(name: 'prefix')]
Hierarchy
- class \Drupal\Tests\Core\Routing\MethodRouteMissingName
Expanded class hierarchy of MethodRouteMissingName
File
-
core/
tests/ Drupal/ Tests/ Core/ Routing/ UnsupportedRouteAttributePropertiesTest.php, line 148
Namespace
Drupal\Tests\Core\RoutingView source
class MethodRouteMissingName {
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.