public function Soundcloud::providedFields in Media entity Soundcloud 8
Gets list of fields provided by this plugin.
Return value
array Associative array with field names as keys and descriptions as values.
Overrides MediaTypeInterface::providedFields
File
- src/
Plugin/ MediaEntity/ Type/ Soundcloud.php, line 108
Class
- Soundcloud
- Provides media type plugin for Soundcloud.
Namespace
Drupal\media_entity_soundcloud\Plugin\MediaEntity\TypeCode
public function providedFields() {
return [
'track_id' => $this
->t('The track id'),
'html' => $this
->t('HTML embed code'),
'thumbnail_uri' => t('URI of the thumbnail'),
];
}