Fill the form & Get Installation Support

    You can check a list of called layout XML for specific pages by Magento\Framework\App\View class.

    Call getLayout() method from Magento\Framework\App\View.php class.

    getLayout()->getUpdate()->getHandles() is used for getting all the handles of a page.

    You need to add the following code at the end of root index.php file to check XML files.

    To check for a specific page, You need to call the function as below:

    Call Inside a function,
    $loadedHandles = $this->view->getLayout()->getUpdate()->getHandles();

    Now you can print the result $loadedHandles from above expression.

    Fill the below form if you have any Magento programming need.

      Recent Articles

      Author Info

      Author Image

      Magento Developer

      Hire G. Patel

      Get a Free Quote


        mage Monkeys

        Let’s initiate a discussion!!

        Book a call

        Let our Magento expert connect to discuss your requirement.

          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.