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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

John Pitcairn’s picture

Status: Active » Needs review
FileSize
604 bytes

And here's the patch...

mikey_p’s picture

Thanks, I've already got a patch for this in the works that also removes calls to user_access at the same time.

mikey_p’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.