private function ShareMessage::buildAttributes in Share Message 7
Function that adds icon style as part of addThis widget.
2 calls to ShareMessage::buildAttributes()
- ShareMessage::buildAdditionalAttributes in includes/
sharemessage.entity.inc - Function that adds icon style with addThis:attributes (url, title, description) as part of addThis widget.
- ShareMessage::buildContent in includes/
sharemessage.entity.inc - Overrides Entity::buildContent().
File
- includes/
sharemessage.entity.inc, line 255 - Definition of ShareMessage entity class.
Class
Code
private function buildAttributes() {
$icon_style = $this
->getIconStyle();
return array(
'class' => array(
'addthis_toolbox',
$this
->getAddthisStyleClass($icon_style),
$icon_style,
),
);
}