public function SocialEventManagersSendEmail::execute in Open Social 8.5
Same name and namespace in other branches
- 8.6 modules/social_features/social_event/modules/social_event_managers/src/Plugin/Action/SocialEventManagersSendEmail.php \Drupal\social_event_managers\Plugin\Action\SocialEventManagersSendEmail::execute()
- 8.7 modules/social_features/social_event/modules/social_event_managers/src/Plugin/Action/SocialEventManagersSendEmail.php \Drupal\social_event_managers\Plugin\Action\SocialEventManagersSendEmail::execute()
Overrides SocialSendEmail::execute
1 call to SocialEventManagersSendEmail::execute()
- SocialEventAnEnrollSendEmail::execute in modules/
social_features/ social_event/ modules/ social_event_an_enroll/ src/ Plugin/ Action/ SocialEventAnEnrollSendEmail.php
1 method overrides SocialEventManagersSendEmail::execute()
- SocialEventAnEnrollSendEmail::execute in modules/
social_features/ social_event/ modules/ social_event_an_enroll/ src/ Plugin/ Action/ SocialEventAnEnrollSendEmail.php
File
- modules/
social_features/ social_event/ modules/ social_event_managers/ src/ Plugin/ Action/ SocialEventManagersSendEmail.php, line 30
Class
- SocialEventManagersSendEmail
- Send email to event enrollment users.
Namespace
Drupal\social_event_managers\Plugin\ActionCode
public function execute($entity = NULL) {
$accounts = $entity->field_account
->referencedEntities();
$account = reset($accounts);
parent::execute($account);
return $this
->t('Send mail');
}