VisibilityCheckerInterface.php 483 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Backend\Block\Widget\Grid\Massaction;
  7. use Magento\Framework\View\Element\Block\ArgumentInterface;
  8. /**
  9. * @api
  10. * @since 100.2.0
  11. */
  12. interface VisibilityCheckerInterface extends ArgumentInterface
  13. {
  14. /**
  15. * Check that action can be displayed on massaction list
  16. *
  17. * @return bool
  18. * @since 100.2.0
  19. */
  20. public function isVisible();
  21. }