You are here

public function InviteParamConverter::applies in Invite 8

Applies function.

Overrides ParamConverterInterface::applies

File

src/ParamConverter/InviteParamConverter.php, line 17

Class

InviteParamConverter
Class InviteParamConverter.

Namespace

Drupal\invite\ParamConverter

Code

public function applies($definition, $name, Route $route) {
  return !empty($definition['type']) && $definition['type'] == 'reg_code';
}