public function BcRoute::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Routing/BcRoute.php \Drupal\Core\Routing\BcRoute::__construct()
File
- core/
lib/ Drupal/ Core/ Routing/ BcRoute.php, line 24
Class
- BcRoute
- A backwards compatibility route.
Namespace
Drupal\Core\RoutingCode
public function __construct() {
parent::__construct('');
$this
->setOption('bc_route', TRUE);
}