In default.xml of the magento/module-theme Module we have the following referenceBlock on Line 19:

        <referenceBlock name="top.links">
        <block class="Magento\Theme\Block\Html\Header" name="header" as="header" before="-">
                <argument name="show_part" xsi:type="string">welcome</argument>

In which layout file is the block with Name 'name="top.links"' defined ? It is referred, so it has to be defined in some layout XML file.

1 Answer 1


Here is the layout file that the top.links block is defined

  • Search for 'top.links'. Line 43?
    – Nikolas
    Sep 3, 2017 at 18:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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