Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
custom_block.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Sep 2014 at 20:02 UTC
Updated:
10 Oct 2014 at 21:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rpayanmComment #2
rpayanmComment #4
rpayanmComment #5
larowlanThanks, but this isn't what I was chasing
using \Drupal is no better than using procedural functions. We need to implement ContainerFactoryPluginInterface and inject the dependencies - updated the OP to make it explicit.
Comment #6
larowlanthis expects 'block_content' not $block for getViewBuilder - thats why the tests fail
Comment #7
rpayanmSorry for that code :) I am a novice and thank you for the comments ;)
Comment #8
larowlanThanks @rpayanm - awesome work!
No need to apologize.
Comment #11
larowlanComment #13
rpayanm