protected function Social::doExecute in GA Push 8
Executes the action with the given context.
File
- src/
Plugin/ RulesAction/ Social.php, line 41
Class
- Social
- Provides a 'Ga Push Social' action.
Namespace
Drupal\ga_push\Plugin\RulesActionCode
protected function doExecute() {
ga_push_add_social([
'socialNetwork' => $this
->getContextValue('socialNetwork'),
'socialAction' => $this
->getContextValue('socialAction'),
'socialTarget' => $this
->getContextValue('socialTarget'),
], $this
->getMethod());
}