anchorEntry

open override fun anchorEntry(anchor: EntryAnchor.Anchor): EntryAnchor.Anchor

Anchor modifier method for a section. By default, provides a "map" icon decoration to the base anchor. You can provide a custom icon if you want a special icon for the config in the goto menu. If your config has a long name, you may also want to create and provide a shortened "summary" name for a goto link.

Super should be used to generate the anchor you modify, like: return super.anchorEntry(anchor).name(myNewName).decoration(myNewDecoration)

Return

Anchor with any desired modifications.

Author

fzzyhmstrs

Since

0.6.0

Parameters

anchor

EntryAnchor.Anchor automatically generated input Anchor for modification.

See also

for other built in icons

for a simple class to build your own icon