public function WebsiteUrl::getValue in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/WebsiteUrl.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\WebsiteUrl::getValue()
- 8.5 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/WebsiteUrl.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\WebsiteUrl::getValue()
- 8.6 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/WebsiteUrl.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\WebsiteUrl::getValue()
- 8.7 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/WebsiteUrl.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\WebsiteUrl::getValue()
- 8.8 modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/WebsiteUrl.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\WebsiteUrl::getValue()
- 10.3.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/WebsiteUrl.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\WebsiteUrl::getValue()
- 10.1.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/WebsiteUrl.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\WebsiteUrl::getValue()
- 10.2.x modules/custom/social_lets_connect/modules/social_lets_connect_usage/src/Plugin/ShareUsageDataPlugin/WebsiteUrl.php \Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPlugin\WebsiteUrl::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/ WebsiteUrl.php, line 25
Class
- WebsiteUrl
- Provides a 'WebsiteUrl' share usage data plugin.
Namespace
Drupal\social_lets_connect_usage\Plugin\ShareUsageDataPluginCode
public function getValue() {
global $base_url;
return [
'url' => $base_url,
];
}