public function AcsfVariablesCommands::info in Acquia Cloud Site Factory Connector 8.2
Retrieves info about a site.
@command acsf-info
Return value
\Consolidation\OutputFormatters\StructuredData\PropertyList The site info list in var_export format.
File
- acsf_variables/
src/ Commands/ AcsfVariablesCommands.php, line 180
Class
- AcsfVariablesCommands
- Provides drush commands for the acsf_variables module.
Namespace
Drupal\acsf_variables\CommandsCode
public function info() {
$data = \Drupal::service('acsf.variable_storage')
->get('acsf_site_info', []);
return new PropertyList($data);
}