Locks.php 474 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\User\Block\Adminhtml;
  7. /**
  8. * Locked administrators page
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. class Locks extends \Magento\Backend\Block\Widget\Grid\Container
  14. {
  15. /**
  16. * {@inheritdoc}
  17. *
  18. * @codeCoverageIgnore
  19. */
  20. protected function _construct()
  21. {
  22. parent::_construct();
  23. $this->buttonList->remove('add');
  24. }
  25. }