protected function WebformMapper::processRoute in Webform Translation Permissions 8
Overrides the default route requirements.
Parameters
\Symfony\Component\Routing\Route $route: The route object to process.
Overrides ConfigEntityMapper::processRoute
File
- src/
ConfigTranslation/ WebformMapper.php, line 19
Class
- WebformMapper
- Provides a configuration mapper for webforms.
Namespace
Drupal\webform_translation_permissions\ConfigTranslationCode
protected function processRoute(Route $route) {
$route
->setRequirements([
'_webform_translation_form_access' => 'TRUE',
]);
return parent::processRoute($route);
}