Skip to content

Commit

Permalink
Merged PR 51965: Allow Chat data object to be used as a view Model
Browse files Browse the repository at this point in the history
## What's being changed

Allow Chat data object to be used as a viewModel

## Why it's being changed

We added the interface to allow this class to be used within the Hyva Themes chat fallback module.

## How to review / test this change

- Ensure Chat behaves as expected as of the most recent release on the Luma Magento theme.

Related work items: #242863
  • Loading branch information
pvpcookie committed Feb 26, 2024
1 parent 0bb7441 commit 26a5dd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CustomerData/Chat.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
use Magento\Customer\CustomerData\SectionSourceInterface;
use Magento\Framework\Exception\LocalizedException;
use Magento\Framework\Exception\NoSuchEntityException;
use Magento\Framework\View\Element\Block\ArgumentInterface;
use Magento\Store\Model\StoreManagerInterface;
use Magento\Framework\UrlInterface;
use Dotdigitalgroup\Email\Helper\Data;
use Magento\TestFramework\Event\Magento;

class Chat implements SectionSourceInterface
class Chat implements SectionSourceInterface, ArgumentInterface
{
/**
* @var Config
Expand Down

0 comments on commit 26a5dd4

Please sign in to comment.