public function SearchApiAcquiaPreferredCore::__construct in Acquia Search for Search API 7.2
SearchApiAcquiaPreferredCore constructor.
Parameters
string $acquia_identifier: Acquia Connector identifier. E.g. 'WXYZ-12345'.
string $ah_env: E.g. 'dev', 'stage' or 'prod'.
string $sites_folder: E.g. 'default'.
string $ah_db_role: E.g. 'my_site_db'.
array $available_cores: E.g. [ [ 'host' => 'useast11-c4.acquia-search.com', 'index_id' => 'WXYZ-12345.dev.mysitedev', ], ].
File
- includes/
v3/ SearchApiAcquiaPreferredCore.php, line 63
Class
- SearchApiAcquiaPreferredCore
- Class SearchApiAcquiaPreferredCore.
Code
public function __construct($acquia_identifier, $ah_env, $sites_folder, $ah_db_role, array $available_cores) {
$this->acquiaIdentifier = $acquia_identifier;
$this->ahEnv = $ah_env;
$this->sitesFolderName = $sites_folder;
$this->databaseRole = $ah_db_role;
$this->availableCores = $available_cores;
}