Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

How to Check if a Module is Enabled or Not Programmatically in Magento 2

  1. #1
    Junior Member
    Join Date
    Nov 2022
    Location
    CA, USA
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile How to Check if a Module is Enabled or Not Programmatically in Magento 2


  2. #2
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    2,084
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    In Magento, We can check any module is to empower or handicap utilizing a basic code piece. Call Magento\Framework\Module\Manager class to__construct() for really look at module status. isEnabled() module used to show the consequence of the Module Empower or Incapacitate with the boolean worth valid/misleading.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •