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.
Hi,
Is there plans to introduce Drupal 8 version of this module?
We (@InternetDevels team) would like to help you with development of this version.
Thanks, Var.
Comments
Comment #1
Johnny vd Laar CreditAttribution: Johnny vd Laar commentedCurrently I'm not working on a drupal 8 version, but I'm certainly planning to make a Drupal 8 version in the near future.
Comment #2
legolasboI'm currently taking a crack at this. So far i've converted (most) of the forms and I'm working on converting the node CRUD hooks. I'll post a patch when there is some functionality to review.
Comment #3
legolasboSmall status update:
I've got the basis covered. Nodeblocks show up in the block layout menu and nodes get displayed when a nodeblock is positioned in a region. Next up, view modes, overrides, block rendering and getting rid of the nodeblock table in favour of config entities.
Comment #4
legolasboIt's been a while since I've had enough time on my hands to work on this and a lot has changed in Drupal 8. I've chosen to restart from scratch during Drupalcon Amsterdam and I'll try to get a first port done by the end of Drupalcon amsterdam.
Comment #5
legolasboAfter working on this for the pas two days I had an epiphany while sitting in the tram on the way home. Because blocks are fieldable in Drupal 8 and entityreference is in core, the main functionality of nodeblock can be achieved by creating a block type with an entityreference field. I've already tried this out and it works like a charm. I think this makes nodeblock obsolete in Drupal 8
Below I've created a list of nodeblock's features and the way to realise them in Drupal 8.
Display a node in a block
Configure a view mode
This can be configured on the manage display page of your block type.
Configure comment/links display
This can be configured on the manage display page of your content type.
Per node overrides
Not supported by default, but can probably be implemented by overriding the entityreference widget and/or formatter
Comment #6
legolasboComment #7
Johnny vd Laar CreditAttribution: Johnny vd Laar at ezCompany commentedPlease see https://www.drupal.org/project/entityblock it's still work in progress.