PageActionsInterface.php 823 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\ViewModel;
  6. /**
  7. * Page Main Actions Provider Interface
  8. *
  9. * All view models that provide a page actions menu bar must implement this.
  10. *
  11. * @package Temando\Shipping\ViewModel
  12. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  13. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  14. * @link http://www.temando.com/
  15. */
  16. interface PageActionsInterface
  17. {
  18. /**
  19. * Obtain array of button data.
  20. *
  21. * @see \Temando\Shipping\Block\Adminhtml\ComponentContainer::_prepareLayout
  22. * @see \Magento\Backend\Block\Widget\Button\ButtonList::add
  23. *
  24. * @return mixed[][]
  25. */
  26. public function getMainActions(): array;
  27. }