After installing the module, the following error is generated on the site
The website encountered an unexpected error. Please try again later.
Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "contact_form" entity type did not specify a access handler. in Drupal\Core\Entity\EntityTypeManager->getHandler() (line 236 of core/lib/Drupal/Core/Entity/EntityTypeManager.php). Drupal\Core\Entity\EntityTypeManager->getAccessControlHandler('contact_form') (Line: 365)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2980418-3.patch | 601 bytes | manuel garcia |
Comments
Comment #2
markus_petrux commentedHi! ...it looks related to this:
Drupal\contact_permissions\ContactPermissionsAccessHandler is missing.
Comment #3
manuel garcia commentedOh wow, thanks for reporting @markus_petrux!
I believe it is safe to remove the hook. That class is used to control access to edit / delete / view contact form entities. This module only deals with personal contact forms, not general contact form entities, so we do not need to override this access handler.
Comment #5
manuel garcia commentedComment #6
manuel garcia commentedTagged a new release with this in: https://www.drupal.org/project/contact_permissions/releases/8.x-1.0-alpha4