Loading config/schema/media_entity_soundcloud.schema.yml +6 −0 Original line number Diff line number Diff line Loading @@ -57,3 +57,9 @@ field.formatter.settings.soundcloud_embed: sharing: type: string label: 'Show share button' show_teaser: type: string label: 'Show SoundCloud Overlays' single_active: type: string label: 'Single active' src/Plugin/Field/FieldFormatter/SoundcloudEmbedFormatter.php +2 −0 Original line number Diff line number Diff line Loading @@ -145,6 +145,8 @@ class SoundcloudEmbedFormatter extends FormatterBase { 'download' => $this->t('Show download button'), 'buying' => $this->t('Show buy button'), 'sharing' => $this->t('Show share button'), 'show_teaser' => $this->t('Show SoundCloud Overlays'), 'single_active' => $this->t('Single active: If set to false the multiple players on the page won\'t toggle each other off when playing'), ]; } Loading Loading
config/schema/media_entity_soundcloud.schema.yml +6 −0 Original line number Diff line number Diff line Loading @@ -57,3 +57,9 @@ field.formatter.settings.soundcloud_embed: sharing: type: string label: 'Show share button' show_teaser: type: string label: 'Show SoundCloud Overlays' single_active: type: string label: 'Single active'
src/Plugin/Field/FieldFormatter/SoundcloudEmbedFormatter.php +2 −0 Original line number Diff line number Diff line Loading @@ -145,6 +145,8 @@ class SoundcloudEmbedFormatter extends FormatterBase { 'download' => $this->t('Show download button'), 'buying' => $this->t('Show buy button'), 'sharing' => $this->t('Show share button'), 'show_teaser' => $this->t('Show SoundCloud Overlays'), 'single_active' => $this->t('Single active: If set to false the multiple players on the page won\'t toggle each other off when playing'), ]; } Loading