Prefacing, this is for a plugin that needs to know Category
custom_fields for creating a button in the
before-create-topic plugin-outlet. I also need to use this in the
I’m likely missing something incredibly simple here…
I can use the following in the initializer to get the category class… sortof
const controller = api.container.lookup("controller:navigation/category");
When I print that out, I can see various properties. In the devconsole, I can see
category: (...). When I click
(..) I can see
custom_fields and the field I’m looking for. How can I get to this from plugin API??
I’ve tried various forms of “getting” the property, but all return undefined.