You are here

public static function moduleHelper::themeRocketChannelBLock in Rocket.Chat 8.2

1 call to moduleHelper::themeRocketChannelBLock()
rocket_chat_group_theme in modules/rocket_chat_group/rocket_chat_group.module
Implements hook_theme().

File

modules/rocket_chat_group/src/RocketChat/moduleHelper.php, line 185

Class

moduleHelper

Namespace

Drupal\rocket_chat_group\RocketChat

Code

public static function themeRocketChannelBLock($existing, $type, $theme, $path) {
  return [
    'rocketChatChannelBlock' => [
      'variables' => [
        'url' => "https://demo.rocketchat.chat",
        'width' => "0px",
        'height' => "0px",
        'host' => "*",
        'app' => "rocketchat://demo.rocket.chat",
        'showDirectLink' => FALSE,
      ],
    ],
  ];
}