function PathHasAlias::create
Overrides ContainerFactoryPluginInterface::create
File
-
src/
Plugin/ Condition/ PathHasAlias.php, line 65
Class
- PathHasAlias
- Provides a 'Path has alias' condition.
Namespace
Drupal\rules\Plugin\ConditionCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('path_alias.manager'));
}