You are here

public static function UserExpire::create in User Expire 8

File

src/Plugin/RulesAction/UserExpire.php, line 57

Class

UserExpire
Provides "Expire User" action.

Namespace

Drupal\user_expire\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('database'));
}