Closed (fixed)
Project:
Field as Block
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2017 at 09:04 UTC
Updated:
13 May 2018 at 11:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Pavan B S commentedApplying the patch, please review.
Comment #3
socialnicheguru commentedI get this error once I apply the patch
then try to place the block
Error: Call to undefined method Drupal\\Core\\Entity\\EntityTypeManager::getFieldStorageDefinitions() in drupal-8.4.5/html/modules/download/fieldblock/src/Plugin/Block/FieldBlock.php on line 108
Comment #4
sutharsan commentedBack to 'Needs work' as per remark in #3.
Comment #5
nkoporecCreated a new patch which fixes #3 issue.
Comment #6
sutharsan commentedThanks for working on this. However the patch no longer applies.
The descriptions should be modified too.
FieldBlock::getEntity also has an
$this->entityManager, I think this is missing in the patch.Comment #7
sutharsan commentedRerolled
Comment #8
sutharsan commentedChanges:
Comment #10
sutharsan commented