See Add an attribute to a filter.
Example
ModifyObject_AddEnumerationAttribute
\WEB-INF\config\custom\xml\custom.xml: Modify filter