Drupal 8  8.0.2
ModuleInstaller Class Reference
Inheritance diagram for ModuleInstaller:

Public Member Functions

 __construct (\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id)
 
 addUninstallValidator (\Drupal\Core\Extension\ModuleUninstallValidatorInterface $uninstall_validator)
 
 install (array $module_list, $enable_dependencies=true)
 
 uninstall (array $module_list, $uninstall_dependents=true)
 
 validateUninstall (array $module_list)
 

Protected Member Functions

 lazyLoadItself ()
 

Protected Attributes

 $drupalProxyOriginalServiceId
 
 $service
 
 $container
 

Detailed Description

Provides a proxy class for .

See Also

Constructor & Destructor Documentation

__construct ( \Symfony\Component\DependencyInjection\ContainerInterface  $container,
  $drupal_proxy_original_service_id 
)

Constructs a ProxyClass Drupal proxy object.

Parameters
\Symfony\Component\DependencyInjection\ContainerInterface$containerThe container.
string$drupal_proxy_original_service_idThe service ID of the original service.

Member Function Documentation

addUninstallValidator ( \Drupal\Core\Extension\ModuleUninstallValidatorInterface  $uninstall_validator)

{}

References ModuleInstaller\lazyLoadItself().

Here is the call graph for this function:

install ( array  $module_list,
  $enable_dependencies = true 
)

{}

References ModuleInstaller\lazyLoadItself().

Here is the call graph for this function:

lazyLoadItself ( )
protected

Lazy loads the real service from the container.

Returns
object Returns the constructed real service.

References Drupal\service().

Referenced by ModuleInstaller\addUninstallValidator(), ModuleInstaller\install(), ModuleInstaller\uninstall(), and ModuleInstaller\validateUninstall().

Here is the call graph for this function:

Here is the caller graph for this function:

uninstall ( array  $module_list,
  $uninstall_dependents = true 
)

{}

References ModuleInstaller\lazyLoadItself().

Here is the call graph for this function:

validateUninstall ( array  $module_list)

{}

References ModuleInstaller\lazyLoadItself().

Here is the call graph for this function:


The documentation for this class was generated from the following file: