function TokenProcessor::create

Overrides ContainerFactoryPluginInterface::create

File

src/Plugin/RulesDataProcessor/TokenProcessor.php, line 49

Class

TokenProcessor
A data processor for placeholder token replacements.

Namespace

Drupal\rules\Plugin\RulesDataProcessor

Code

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