function KalturaHelpers::__construct in Kaltura 7.3
Same name and namespace in other branches
- 7.2 kaltura_client/kaltura_helpers.php \KalturaHelpers::__construct()
File
- kaltura_client/
kaltura_helpers.php, line 10
Class
- KalturaHelpers
- Class KalturaHelpers.
Code
function __construct() {
if (function_exists('libraries_load')) {
libraries_load('KalturaClient');
}
else {
$status_report = l(t('Status report'), 'admin/reports/status');
drupal_set_message(t("Kaltura module now requires Libraries module to be installed and enabled. Please follow instructions listed on the !status_report page.", array(
'!status_report' => $status_report,
)), 'error');
}
}