I created a custom view helper and element for TreeView. I have existing modules that display forms simply by calling formCollection($this->form). I want to utilize the formTreeView() helper but it only displays a simple text box.
If I create a new phtml and manually call formTreeView($this->form->get(‘TREE-VIEW’)); it displays as expected.
I get the concept, but in your factory example, when does the $renderer variable get instantiated? What class is it? I was unable to determine what class has a plugin method. Thanks for your assistance.