function EntityClone::create

Overrides ContainerFactoryPluginInterface::create

File

core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/EntityClone.php, line 35

Class

EntityClone
@internal This API is experimental.

Namespace

Drupal\Core\Config\Action\Plugin\ConfigAction

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) : static {
    return new static($container->get(ConfigManagerInterface::class), $container->get('plugin.manager.config_action'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.