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.
# Summary
Enables the presentation of user registration, site wide contact, or node creation forms in blocks. This is particularly useful for including forms on panels.
There is a 8.x-1.0-beta7 recommended release of the module for D8. This one is currently broken. See #2570221: Modify blockAccess() to return an instance of Drupal\Core\Access\AccessResult instead of boolean..
# Project URL
https://www.drupal.org/project/formblock
# Where is the code?
https://www.drupal.org/project/formblock
# Estimated completion date
Unknown
# Dependencies
Unknown
# Who's doing the port?
Unknown
# What help do they need?
Unknown
# D8 roadmap
Unknown
# Background and reference information
Unknown
Comments
Comment #2
JoshuaKissoon CreditAttribution: JoshuaKissoon as a volunteer commentedVersion 8.x-1.0-beta7 does not work with Drupal 8.0.2
Comment #3
revoltmedia CreditAttribution: revoltmedia commentedDrupal 8.0.4 FormBlock 8.x-1.0-beta7
Gives a WSOD when a form block is placed in a content area.
Recoverable fatal error: Argument 1 passed to Drupal\block\BlockAccessControlHandler::mergeCacheabilityFromConditions() must be an instance of Drupal\Core\Access\AccessResult, boolean given, called in /media/data/clients-rm/revoltmedia/site/revoltmedia_com/core/modules/block/src/BlockAccessControlHandler.php on line 151 and defined in Drupal\block\BlockAccessControlHandler->mergeCacheabilityFromConditions() (line 166 of /media/data/clients-rm/revoltmedia/site/revoltmedia_com/core/modules/block/src/BlockAccessControlHandler.php).
Comment #4
omkar06 CreditAttribution: omkar06 as a volunteer and at Faichi Solutions Pvt Ltd commentedComment #5
veleno CreditAttribution: veleno commentedI have the same error as before in Drupal 8.1.2 using dev version too:
Drupal\block\BlockAccessControlHandler->mergeCacheabilityFromConditions(1, Array) (Line: 146)
Drupal\block\BlockAccessControlHandler->checkAccess(Object, 'view', Object) (Line: 93)
Drupal\Core\Entity\EntityAccessControlHandler->access(Object, 'view', NULL, 1) (Line: 334)
Drupal\Core\Entity\Entity->access('view', NULL, 1) (Line: 56)
....
Comment #6
JimmyAx CreditAttribution: JimmyAx commentedFor your issues see #2570221: Modify blockAccess() to return an instance of Drupal\Core\Access\AccessResult instead of boolean..
Comment #7
omkar06 CreditAttribution: omkar06 as a volunteer and at Faichi Solutions Pvt Ltd commented