Skip to content

Fix warning with components definition when using the Components module

Changes proposed in this pull request:

  • Check if the Twig include contains a hash
    • If it doesn't we don't need to scan all the components
  • Add a check for if the components directory path is a string
    • This will prevent a warning if the component namespaces have been defined the way the Components module expects them to be defined

Closes #3197486

Merge request reports