None.php in Open Social 8.8
Same filename and directory in other branches
- 8.9 modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 8 modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 8.2 modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 8.3 modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 8.4 modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 8.5 modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 8.6 modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 8.7 modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 10.3.x modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 10.0.x modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 10.1.x modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
- 10.2.x modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.php
File
modules/custom/activity_send/modules/activity_send_email/src/Plugin/EmailFrequency/None.phpView source
<?php
namespace Drupal\activity_send_email\Plugin\EmailFrequency;
use Drupal\activity_creator\Entity\Activity;
use Drupal\activity_send_email\EmailFrequencyBase;
use Drupal\message\Entity\Message;
use Drupal\user\Entity\User;
/**
* Define a concrete class for no emails.
*
* @EmailFrequency(
* id = "none",
* name = @Translation("- None -"),
* weight = 0,
* interval = 0
* )
*/
class None extends EmailFrequencyBase {
/**
* {@inheritdoc}
*/
public function processItem(Activity $activity, Message $message, User $target) {
}
}