presto-8.x-2.2/src/Installer/InstallerInterface.php
src/Installer/InstallerInterface.php
<?php namespace Drupal\presto\Installer; /** * Interface InstallerInterface. * * @package Drupal\presto\Installer */ interface InstallerInterface { /** * Set current Drupal install state. * * @param array $installState * Install state to set. * * @return $this */ public function setInstallState(array $installState); /** * Sets up all install tasks if they're enabled. * * @return array * A batch operations definition with all enabled install tasks. * * @throws \Drupal\Component\Plugin\Exception\PluginException */ public function installIfEnabled(); }