Closed (fixed)
Project:
SoundCloud Field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2017 at 16:40 UTC
Updated:
11 Jan 2019 at 07:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
cburschkaComment #3
cburschkaComment #4
pifagor commentedpatch
Comment #5
cburschkaThis doesn't quite work, as far as I can tell:
Cannot use object of type Drupal\soundcloudfield\Plugin\Field\FieldType\SoundCloudItem as array in Drupal\soundcloudfield\Plugin\Field\FieldFormatter\SoundCloudDefaultFormatter->viewElements()
The correct way to access the url should be $item->url.
(The invalid !placeholder also doesn't work.)
Comment #7
attila.fekete commented@cburschka: thanks for the patch, @pifagor: your patch didn't work for me either
Comment #9
pifagor commentedComment #10
lakshmandrupal commented#5 worked for me