function SendAccountEmail::create

Overrides ContainerFactoryPluginInterface::create

File

src/Plugin/RulesAction/SendAccountEmail.php, line 60

Class

SendAccountEmail
Provides a 'Send account email' action.

Namespace

Drupal\rules\Plugin\RulesAction

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
    return new static($configuration, $plugin_id, $plugin_definition, $container->get('logger.factory')
        ->get('rules'));
}