Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Attempting to configure the site-wide contact form block produces a fatal error:
Fatal error: Declaration of Drupal\formblock\Plugin\Block\ContactFormBlock::access() must be compatible with that of Drupal\block\BlockPluginInterface::access() in /_drupal8/modules/contrib/formblock/lib/Drupal/formblock/Plugin/Block/ContactFormBlock.php on line 100
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | formblock-contact-block-access-2175357-1.patch | 604 bytes | John Pitcairn |
Comments
Comment #1
John Pitcairn CreditAttribution: John Pitcairn commentedAnd here's the patch...
Comment #2
mikey_p CreditAttribution: mikey_p commentedThanks, I've already got a patch for this in the works that also removes calls to user_access at the same time.
Comment #3
mikey_p CreditAttribution: mikey_p commented