# 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

legaudinier created an issue. See original summary.

JoshuaKissoon’s picture

Version 8.x-1.0-beta7 does not work with Drupal 8.0.2

revoltmedia’s picture

Drupal 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).

omkar06’s picture

Assigned: Unassigned » omkar06
veleno’s picture

I 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)
....

JimmyAx’s picture

omkar06’s picture

Assigned: omkar06 » Unassigned