public function WizardEnhancer::isApplicable in Chaos Tool Suite (ctools) 8.3
Returns if current route use ctools default parameters.
Parameters
\Symfony\Component\Routing\Route $route: The route to check.
Return value
bool TRUE if the route use one of ctools route default parameters or FALSE.
1 call to WizardEnhancer::isApplicable()
- WizardEnhancer::enhance in src/
Routing/ Enhancer/ WizardEnhancer.php - Update the defaults based on its own data and the request.
File
- src/
Routing/ Enhancer/ WizardEnhancer.php, line 43
Class
- WizardEnhancer
- Sets the request format onto the request object.
Namespace
Drupal\ctools\Routing\EnhancerCode
public function isApplicable(Route $route) {
return !$route
->hasDefault('_controller') && ($route
->hasDefault('_wizard') || $route
->hasDefault('_entity_wizard'));
}