We additionally support empty name and data in parameters and RouteAware content
Overrides ProviderBasedGenerator::supports
File
- drupal/core/vendor/symfony-cmf/routing/Symfony/Cmf/Component/Routing/ContentAwareGenerator.php, line 234
Class
- ContentAwareGenerator
- A generator that tries to generate routes from object, route names or
content objects or names.
Namespace
Symfony\Cmf\Component\Routing
Code
public function supports($name) {
return !$name || parent::supports($name) || $name instanceof RouteAwareInterface;
}