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

Johnny vd Laar’s picture

Currently I'm not working on a drupal 8 version, but I'm certainly planning to make a Drupal 8 version in the near future.

legolasbo’s picture

Assigned: Unassigned » legolasbo

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

legolasbo’s picture

Small 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.

legolasbo’s picture

Issue tags: +Amsterdam2014

It'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.

legolasbo’s picture

After 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

  1. Create a new block type
  2. Add an entityreference field (configured to reference nodes, optionally limited by content type)
  3. Create a node
  4. Create a block of your newly created type
  5. Reference the node
  6. Done

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

legolasbo’s picture

Assigned: legolasbo » Unassigned
Johnny vd Laar’s picture

Status: Active » Fixed

Please see https://www.drupal.org/project/entityblock it's still work in progress.

Status: Fixed » Closed (fixed)

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