public function SocialSendEmail::execute in Open Social 10.1.x
Same name in this branch
- 10.1.x modules/social_features/social_group/src/Plugin/Action/SocialSendEmail.php \Drupal\social_group\Plugin\Action\SocialSendEmail::execute()
- 10.1.x modules/social_features/social_user/src/Plugin/Action/SocialSendEmail.php \Drupal\social_user\Plugin\Action\SocialSendEmail::execute()
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/src/Plugin/Action/SocialSendEmail.php \Drupal\social_group\Plugin\Action\SocialSendEmail::execute()
- 8.5 modules/social_features/social_group/src/Plugin/Action/SocialSendEmail.php \Drupal\social_group\Plugin\Action\SocialSendEmail::execute()
- 8.6 modules/social_features/social_group/src/Plugin/Action/SocialSendEmail.php \Drupal\social_group\Plugin\Action\SocialSendEmail::execute()
- 8.7 modules/social_features/social_group/src/Plugin/Action/SocialSendEmail.php \Drupal\social_group\Plugin\Action\SocialSendEmail::execute()
- 8.8 modules/social_features/social_group/src/Plugin/Action/SocialSendEmail.php \Drupal\social_group\Plugin\Action\SocialSendEmail::execute()
- 10.3.x modules/social_features/social_group/src/Plugin/Action/SocialSendEmail.php \Drupal\social_group\Plugin\Action\SocialSendEmail::execute()
- 10.0.x modules/social_features/social_group/src/Plugin/Action/SocialSendEmail.php \Drupal\social_group\Plugin\Action\SocialSendEmail::execute()
- 10.2.x modules/social_features/social_group/src/Plugin/Action/SocialSendEmail.php \Drupal\social_group\Plugin\Action\SocialSendEmail::execute()
Executes the plugin.
Overrides SocialSendEmail::execute
File
- modules/
social_features/ social_group/ src/ Plugin/ Action/ SocialSendEmail.php, line 37
Class
- SocialSendEmail
- Send email to group members.
Namespace
Drupal\social_group\Plugin\ActionCode
public function execute($entity = NULL) {
/** @var \Drupal\group\Entity\GroupContentInterface $entity */
return $entity
->getEntity()
->id();
}