Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Filters are executed in the order they are in the chain, from top to bottom. If you do not care about execution order, you can skip this section, otherwise make sure the filter is in the right position in the chain. 

Magnolia provides task classes to adapt the order of the filter via module version handler. Use 

Javadoc resource link
rangeHigherVersion5.7
classNameinfo.magnolia.module.delta.FilterOrderingTask
renderTypeasynchronous
 or 
Javadoc resource link
rangeHigherVersion5.7
classNameinfo.magnolia.module.delta.OrderFilterBeforeTask
renderTypeasynchronous
. The code example below is using the FilterOrderingTask.

Anchor
anc-moduleVersionHandler-to-change-filterPosition
anc-moduleVersionHandler-to-change-filterPosition
 When When installing a module, you can define the position with ModuleVersionHandler#getExtraInstallTasks.

...