public function SpiController::__construct in Acquia Connector 8
Same name and namespace in other branches
- 8.2 src/Controller/SpiController.php \Drupal\acquia_connector\Controller\SpiController::__construct()
- 3.x src/Controller/SpiController.php \Drupal\acquia_connector\Controller\SpiController::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\acquia_connector\Client $client: Acquia Client.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config factory service.
\Drupal\path_alias\AliasManagerInterface $path_alias: Path alias service.
File
- src/
Controller/ SpiController.php, line 57
Class
- SpiController
- SPI Controller class.
Namespace
Drupal\acquia_connector\ControllerCode
public function __construct(Client $client, ConfigFactoryInterface $config_factory, AliasManagerInterface $path_alias) {
$this->client = $client;
$this->configFactory = $config_factory;
$this->pathAliasManager = $path_alias;
}