You are here

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'
bbb.links.menu.yml in ./bbb.links.menu.yml
bbb.links.menu.yml
bbb.services.yml in ./bbb.services.yml
bbb.services.yml
1 service uses BigBlueButton
bbb in ./bbb.services.yml
Drupal\bbb\Service\BigBlueButton

File

src/Service/BigBlueButton.php, line 15

Namespace

Drupal\bbb\Service
View 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

Namesort descending Modifiers Type Description Overrides
BigBlueButton::__construct public function BigBlueButton constructor.