Newsroom finalization & integration tests.

This commit is contained in:
Denis Flaven
2018-12-06 15:38:29 +01:00
parent 35752a8041
commit 540bc3a54b
8 changed files with 227 additions and 8 deletions

View File

@@ -52,6 +52,18 @@ class HubNewsroomProvider extends NewsroomProviderBase
{
return $sBaseUrl = $this->oConfig->GetModuleSetting('itop-hub-connector', 'url').MetaModel::GetModuleSetting('itop-hub-connector', 'route_view_all_messages');
}
/**
* {@inheritDoc}
* @see iNewsroomProvider::GetPlaceholders()
*/
public function GetPlaceholders()
{
return array(
'%connect_to_itop_hub%' => utils::GetAbsoluteUrlModulePage('itop-hub-connector', 'launch.php', array('target' => 'view_dashboard')),
);
}
/**
* {@inheritDoc}
* @see NewsroomProviderBase::GetPreferencesUrl()