You are here

media_entity_soundcloud.module in Media entity Soundcloud 8

Same filename and directory in other branches
  1. 8.2 media_entity_soundcloud.module
  2. 3.x media_entity_soundcloud.module

File

media_entity_soundcloud.module
View source
<?php

/**
 * @file
 * Contains media_entity_soundcloud.module.
 */

/**
 * Implements hook_theme().
 */
function media_entity_soundcloud_theme($existing, $type, $theme, $path) {
  return [
    'media_soundcloud_embed' => [
      'variables' => [
        'track_id' => NULL,
        'width' => NULL,
        'height' => NULL,
        'type' => NULL,
        'options' => [],
      ],
      'file' => 'media_entity_soundcloud.theme.inc',
    ],
  ];
}

Functions

Namesort descending Description
media_entity_soundcloud_theme Implements hook_theme().