Skip to content

Commit

Permalink
add a multiselect for campaign action #1866 for 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloebiz committed Feb 20, 2024
1 parent 8833796 commit 8b319c3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Model/Config/Source/CampaignAction.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace Ebizmarts\MailChimp\Model\Config\Source;

class CampaignAction implements \Magento\Framework\Option\ArrayInterface
{
private $actions = [
['value' => 'sent', 'label' => 'Sent'],
['value' => 'open', 'label' => 'Open'],
['value' => 'click', 'label' => 'Click']
];
public function toOptionArray()
{
return $this->actions;
}
}

0 comments on commit 8b319c3

Please sign in to comment.