Doesn't work. There are two TitlePartHandlers in the list. Even with the dependency declared in Module.txt, Orchard.Core.Title.Handlers.TitlePartHandler is 2nd in the list, but Orchard.ContentManagement.TitlePartHandler is always last. And it's that last
one that sets the DisplayText property, overriding what my handler is doing.
And yes, I know that I can create a nice link manually using the DisplayUrl. I guess I'm not explaining very well why I wanted to do this. :-)
I want to stay DRY. There may be several views where I'm rending a link to content items of this type. Whenever that happens I want the text to be formatted the same way. There may even be other modules elsewhere in Orchard that call ItemDisplayLink to render
links to my content items (that's what it's there for). I want those to be formatted the same way too. Setting DisplayText on the Metadata is the way to do that. Except it doesn't work because Title always overrides it. :-)
It's not a big deal, it just seemed like a good way to demonstrate another thing you can do with a Handler. I'll leave it out since it doesn't work as expected. I've got plenty of other material to cover. :-)