Problem/Motivation

I can add block fields, which is great, but some of the blocks have extra configuration options and I cannot set them.

Steps to reproduce

Go to admin/structure/ds/fields/manage_block and fill the data there. When you select a block nothing extra appears.
For example, if you also enable core's book module, the block 'Book navigation' will be available. This block has 2 options for displaying the data. If I add this block using the Block Layout interface I can configure these options. But not using the block field from DS.

Proposed resolution

The method blockForm from each block needs to be called and the form needs to be presented to the user, so the user can configure the block that will be displayed using the block field feature.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#5 3223626-5.patch1.05 KBswentel
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eldrupalista created an issue. See original summary.

swentel’s picture

Version: 8.x-3.13 » 5.0.x-dev
swentel’s picture

Actually the option to set the configuration is available, but it's a bit hidden. After creating a block, you're redirect to the overview again. Instead you should be redirect to the the configuration tab (in the operations there's a 'Configuration'.

So I'll add that so that you're redirected to that page after creating one.

swentel’s picture

Category: Bug report » Task

Moving to task

swentel’s picture

Status: Active » Needs review
FileSize
1.05 KB

wow, this took longer than expected, but it's an easy fix :)

  • swentel committed 5d606e2 on 5.0.x
    Issue #3223626 by swentel: Block field: no configuration option
    
swentel’s picture

Status: Needs review » Fixed

redirects fine now

swentel’s picture

Status: Fixed » Closed (fixed)
swentel’s picture

Version: 5.0.x-dev » 8.x-3.x-dev
Status: Closed (fixed) » Active
swentel’s picture

Status: Active » Fixed
swentel’s picture

Status: Fixed » Closed (fixed)
swentel’s picture

Status: Closed (fixed) » Active

Crap wrong issue closed, not backported yet

  • swentel committed c0c78014 on 8.x-3.x
    Issue #3223626 by swentel: Block field: no configuration option
    
swentel’s picture

Status: Active » Fixed
swentel’s picture

Status: Fixed » Closed (fixed)