class BigBlueButton in BigBlueButton 8
Class BigBlueButton.
Drupal wrapper for BigBlueButton\BigBlueButton,
@package Drupal\bbb\Service
Hierarchy
- class \Drupal\bbb\Service\BigBlueButton extends \BigBlueButton\BigBlueButton
Expanded class hierarchy of BigBlueButton
2 string references to 'BigBlueButton'
1 service uses BigBlueButton
File
- src/
Service/ BigBlueButton.php, line 15
Namespace
Drupal\bbb\ServiceView source
class BigBlueButton extends BigBlueButtonBase {
/**
* BigBlueButton constructor.
*
* @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
* Config factory.
*/
public function __construct(ConfigFactoryInterface $config_factory) {
if (!getenv('BBB_SECURITY_SALT') && !getenv('BBB_SECRET')) {
putenv('BBB_SECRET=' . $config_factory
->get('bbb.settings')
->get('security_salt'));
}
if (!getenv('BBB_SERVER_BASE_URL')) {
putenv('BBB_SERVER_BASE_URL=' . $config_factory
->get('bbb.settings')
->get('base_url'));
}
parent::__construct();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BigBlueButton:: |
public | function | BigBlueButton constructor. |