You are here

public function RouteEnhancer::applies in Janrain Registration 8

File

src/RouteEnhancer.php, line 55

Class

RouteEnhancer
The route enhancer.

Namespace

Drupal\janrain_capture

Code

public function applies(Route $route) {
  return $route
    ->getOption('parameters')['user'] ?? FALSE;
}