Skip to content
Snippets Groups Projects
Commit a407ab87 authored by Robert Ragas's avatar Robert Ragas
Browse files

by robertragas: reintroduce the push_activity_send plugin that is being used in the module file

parent f64d6788
Branches 2486651-donate
No related tags found
No related merge requests found
<?php
namespace Drupal\activity_send_push\Plugin\ActivitySend;
use Drupal\activity_send\Plugin\ActivitySendBase;
/**
* Provides a 'PushActivitySend' activity action.
*
* @ActivitySend(
* id = "push_activity_send",
* label = @Translation("Action that is triggered when a entity is created"),
* )
*/
class PushActivitySend extends ActivitySendBase {
/**
* {@inheritdoc}
*/
public function create($entity) {
// @todo figure out if we need this plugin at all.
// $data['entity_id'] = $entity->id();
// $queue = \Drupal::queue('activity_send_email_worker');
// $queue->createItem($data);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment