public function SystemData::getValue in Open Social 8.9
Same name and namespace in other branches
- 8.5 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/SystemData.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\SystemData::getValue()
- 8.6 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/SystemData.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\SystemData::getValue()
- 8.7 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/SystemData.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\SystemData::getValue()
- 8.8 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/SystemData.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\SystemData::getValue()
- 10.3.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/SystemData.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\SystemData::getValue()
- 10.0.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/SystemData.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\SystemData::getValue()
- 10.1.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/SystemData.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\SystemData::getValue()
- 10.2.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/SystemData.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\SystemData::getValue()
Get the value.
Return value
array $json array.
Overrides ShareUsageDataPluginBase::getValue
File
- modules/
custom/ social_lets_connect/ modules/ social_lets_connect_usage/ src/ Plugin/ ShareUsageDataPlugin/ SystemData.php, line 25
Class
- SystemData
- Provides a 'SystemData' share usage data plugin.
Namespace
Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginCode
public function getValue() {
$info = [
'php' => [
'version' => [
'version' => PHP_VERSION,
'major_minor' => PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION,
],
'info' => [
'extensions' => get_loaded_extensions(),
],
],
'os' => [
php_uname(),
],
];
return $info;
}