ExternalInfoPlatformService
in package
Application service for managing external info platform settings.
Table of Contents
Constants
- DEFAULT_HEADLINE = 'External info platform'
- DEFAULT_MODE = 'embed'
Properties
Methods
- __construct() : mixed
- getSettings() : ExternalInfoPlatform|null
- Retrieve current external info platform settings.
- updateSettings() : ExternalInfoPlatform
- Update settings with the provided configuration.
Constants
DEFAULT_HEADLINE
private
mixed
DEFAULT_HEADLINE
= 'External info platform'
DEFAULT_MODE
private
mixed
DEFAULT_MODE
= 'embed'
Properties
$settingsRepository
private
ExternalInfoPlatformUrlRepository
$settingsRepository
Methods
__construct()
public
__construct(ExternalInfoPlatformUrlRepository $settingsRepository) : mixed
Parameters
- $settingsRepository : ExternalInfoPlatformUrlRepository
getSettings()
Retrieve current external info platform settings.
public
getSettings() : ExternalInfoPlatform|null
Return values
ExternalInfoPlatform|nullupdateSettings()
Update settings with the provided configuration.
public
updateSettings(string $headline, ExternalInfoPlatformUrl $url, string $mode, string $intro, string $fallbackText, string $linkLabel, int $height) : ExternalInfoPlatform
Parameters
- $headline : string
- $url : ExternalInfoPlatformUrl
- $mode : string
- $intro : string
- $fallbackText : string
- $linkLabel : string
- $height : int