-1

How to remove Admin > syetem > tools > backup> system backup button?

Where is getAttributesHtml , Thank you

<?= $block->getBeforeHtml() ?>
<button <?= /* @escapeNotVerified */ $block->getAttributesHtml(), $block->getUiId() ?>>
    <span><?= /* @escapeNotVerified */ $block->getLabel() ?></span>
</button>
<?= $block->getAfterHtml() ?>
  • Have you checked my answer? – Chirag Patel Oct 26 '18 at 13:30
  • not work @ChiragPatel – niceonelee Oct 26 '18 at 14:07
  • I solved this issue @ChiragPatel – niceonelee Oct 26 '18 at 14:45
  • sorry,your answer is wrong. @ChiragPatel – niceonelee Oct 27 '18 at 5:27
  • Ok nop, can you explain how it's wrong? – Chirag Patel Oct 27 '18 at 5:33
0

Try below way.

For remove Admin > syetem > tools > backup> system backup button you need to override below file.

/var/www/html/mdextension/vendor/magento/module-backup/etc/adminhtml/menu.xml

You can do like this.

<menu>
    <remove id="Magento_Backup::system_tools_backup"/>
</menu>

I hope it helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.