Skip to content

Fixes ExtensionLoader::loadAll method to find all Twig extensions as expected#6

Open
michael-wojcik wants to merge 2 commits intodrupal-pattern-lab:masterfrom
michael-wojcik:hotfix/fixes-load-all-method
Open

Fixes ExtensionLoader::loadAll method to find all Twig extensions as expected#6
michael-wojcik wants to merge 2 commits intodrupal-pattern-lab:masterfrom
michael-wojcik:hotfix/fixes-load-all-method

Conversation

@michael-wojcik
Copy link
Copy Markdown

The glob() function in ExtensionLoader::loadAll does not adequately account for nested _twig-components directories within a given Pattern Lab implementation. This PR refactors that method to allow for deeper nested _twig-components directories. PR also includes minor PHP Code Sniffer errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant