Skip to content

Conversation

@JPustkuchen
Copy link

No description provided.

Fixed double paste.
Fixed 8.7.x compatibility where buildBlockEntity throws an error for the 2nd Parameter $entity which was typed as Drupal\Core\Entity\Entity before.
@JPustkuchen JPustkuchen changed the title Fix fences composer requirement notation Fix fences composer requirement notation & Drupal > 8.7.x compatibility. Jun 4, 2019
@JPustkuchen
Copy link
Author

Hi @droath, I also added a fix to FencedBlock.php. From 8.7.x blocks can not be saved anymore with the following error:

TypeError: Argument 2 passed to Drupal\fences_block\FencesBlock::buildBlockEntity() must be an instance of Drupal\Core\Entity\Entity, instance of Drupal\block\Entity\Block given in Drupal\fences_block\FencesBlock::buildBlockEntity() (line 106 of modules/contrib/fences_block/src/FencesBlock.php).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant