I’m attempting to create a custom content type (podcast) and then add fields from a custom plugin (biblref). In the podcast.yaml file, when I use:
'@data-options: '\Grav\Plugin\BiblerefPlugin::getBookOptions'
I get the following error:
Using $this when not in object context
In my bibleref.php file, I’m attempting the following:
public function getBookOptions() {
...
$book_list = __DIR__ . '/' . $this->config->get('plugins.bibleref.book_list');
How do I reference the configuration yaml properly?
Thanks in advance