This is an example extension that simply registers an a case type via hook_managed.
Installation fails as follows:
$ cv en shimmy
Enabling extension "shimmy"
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 69632 bytes) in /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Error.php on line 818
Note that is 256mb which should be quite ample for basic administration.
Note: This example was actually developed/generated through this process:
- Checkout civicrm/civicrm-core#23961
- Update
BunnyDance.mgd.php
to enable thedefinition
- Use
mixer
to build+execute an examplecivibuild restore dmaster ./tools/mixin/bin/mixer test -f --bare /Users/totten/bknix/build/dmaster/web/sites/default/files/civicrm/ext/example-mixin/ mgd-php@1
- The same error will appear in the test.
- The generated folder contains an example extension. I copied it to the gist. To make it more readable, I renamed/trimmed some files.