ShareButtonsService
class ShareButtonsService implements ShareButtonsServiceInterface
Main services related to ShareButtons
Properties
private ConfigServiceInterface | $configService | Stores ConfigServiceInterface |
Methods
addShare(string $share, string $url)
Adds a share to the database
array
getMainShares()
Returns main share networks
string|null
getShareData(string $share)
Returns data related to share
Details
at line 28
__construct(ConfigServiceInterface $configService)
at line 36
addShare(string $share, string $url)
Adds a share to the database
at line 53
array
getMainShares()
Returns main share networks
at line 67
string|null
getShareData(string $share)
Returns data related to share