DeployHookCommand
final class DeployHookCommand extends Command (View source)
Traits
A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.
Constants
NAME |
|
Methods
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
from
AutowireTrait
__construct(SiteAliasManagerInterface $siteAliasManager, LoggerInterface $logger, ProcessManager $processManager, DrushConfig $drushConfig)
No description
int
execute(InputInterface $input, OutputInterface $output)
No description
static void
updateDoOneDeployHook(string $function, array $context)
Batch command that executes a single deploy hook.
static void
updateFinished(bool $success, array $results, array $operations)
Batch finished callback.
Details
static
create(ContainerInterface $container)
Instantiates a new instance of the implementing class using autowiring.
static UpdateRegistry
getRegistry()
Get the deploy hook update registry.
__construct(SiteAliasManagerInterface $siteAliasManager, LoggerInterface $logger, ProcessManager $processManager, DrushConfig $drushConfig)
No description
int
execute(InputInterface $input, OutputInterface $output)
No description
static void
updateDoOneDeployHook(string $function, array $context)
Batch command that executes a single deploy hook.
static void
updateFinished(bool $success, array $results, array $operations)
Batch finished callback.