trait CommonSocialNetworks (View source)

Superclass for social networks

Properties

array<string, string> $socialnetworks

Methods

void
showSocialNetwork(array<string, array{active: int<0, 1>, icon: string, label: string}> $socialnetworks, int $colspan = 4)

Show social network part if the module is enabled with hiding functionality

Details

void showSocialNetwork(array<string, array{active: int<0, 1>, icon: string, label: string}> $socialnetworks, int $colspan = 4)

Show social network part if the module is enabled with hiding functionality

Parameters

array<string, array{active: int<0, 1>, icon: string, label: string}> $socialnetworks

Array of social networks

int $colspan Colspan

Return Value

void