Searches for and returns layout dialect fragments within a given scope/element.
| Constructor and description |
|---|
FragmentFinder
(String dialectPrefix)Constructor, create a new fragment finder to search for fragments using the given prefix as the one configured for the layout dialect. |
| Type | Name and description |
|---|---|
Map<String, IModel> |
findFragments(IModel model)Find and return models for layout dialect fragments within the scope of the given model, without delving into layout:include or
layout:replace elements, mapped by the name of each fragment. |
Constructor, create a new fragment finder to search for fragments using the given prefix as the one configured for the layout dialect.
Find and return models for layout dialect fragments within the scope of the
given model, without delving into layout:include or
layout:replace elements, mapped by the name of each fragment.
model - Model whose events are to be searched.