You are here

public function BookUninstallValidator::__construct in Drupal 10

Same name in this branch
  1. 10 core/modules/book/src/BookUninstallValidator.php \Drupal\book\BookUninstallValidator::__construct()
  2. 10 core/modules/book/src/ProxyClass/BookUninstallValidator.php \Drupal\book\ProxyClass\BookUninstallValidator::__construct()
Same name and namespace in other branches
  1. 8 core/modules/book/src/ProxyClass/BookUninstallValidator.php \Drupal\book\ProxyClass\BookUninstallValidator::__construct()
  2. 9 core/modules/book/src/ProxyClass/BookUninstallValidator.php \Drupal\book\ProxyClass\BookUninstallValidator::__construct()

Constructs a ProxyClass Drupal proxy object.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.

string $drupal_proxy_original_service_id: The service ID of the original service.

File

core/modules/book/src/ProxyClass/BookUninstallValidator.php, line 49

Class

BookUninstallValidator
Provides a proxy class for \Drupal\book\BookUninstallValidator.

Namespace

Drupal\book\ProxyClass

Code

public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) {
  $this->container = $container;
  $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id;
}