function RulesUiConfigHandler::create

Overrides ContainerFactoryPluginInterface::create

File

src/Ui/RulesUiConfigHandler.php, line 60

Class

RulesUiConfigHandler
The default handler for RulesUi plugins that store to config.

Namespace

Drupal\rules\Ui

Code

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