function EntityPathAliasCreate::create
Overrides ContainerFactoryPluginInterface::create
File
-
src/
Plugin/ RulesAction/ EntityPathAliasCreate.php, line 58
Class
- EntityPathAliasCreate
- Provides a generic 'Create entity path alias' action.
Namespace
Drupal\rules\Plugin\RulesActionCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container->get('entity_type.manager')
->getStorage('path_alias'));
}