- πΊπΈUnited States bcobin
Nope. Patch applied successfully and the install seems to go OK, but the module doesn't work. Presets don't appear and if a new formatter is saved, you just get an extra blank line in the UI. Clicking on Edit results in empty screen with "the website encountered an unexpected error" message.
Log shows :Error: Call to a member function getPluginDefinition() on bool in Drupal\custom_formatters\Form\FormatterForm->form() (line 135 of /[site]/web/modules/contrib/custom_formatters/src/Form/FormatterForm.php).
Oh, well...
- First commit to issue fork.
- πΊπΈUnited States cobblestone.consulting
I was seeing errors when trying to edit an existing formatter and I found that when importing the config from a previously created formatter, only a couple of fields were being saved. (also, the listing page has all blank fields). Here is a patch that addresses these issues.
I got this one instead
Class name must be a valid object or a string in Drupal\custom_formatters\Entity\Formatter->getDependentEntities() (line 112 of modules/contrib/custom_formatters/src/Entity/Formatter.php).
Fixed by deleting the ConfigManagerInterface:: in line 112
- last update
8 months ago run-tests.sh fatal error