function EntityFetchByField::create

Overrides ContainerFactoryPluginInterface::create

File

src/Plugin/RulesAction/EntityFetchByField.php, line 78

Class

EntityFetchByField
Provides a 'Fetch entities by field' 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('entity_type.manager'));
}