function BcRoute::__construct

File

core/lib/Drupal/Core/Routing/BcRoute.php, line 24

Class

BcRoute
A backwards compatibility route.

Namespace

Drupal\Core\Routing

Code

public function __construct() {
  parent::__construct('');
  $this->setOption('bc_route', TRUE);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.