public function AddThis::getBlockDisplaySettings in AddThis 7.4
Get the settings used by the block display.
File
- classes/
AddThis.php, line 240 - An AddThis-class.
Class
- AddThis
- @file An AddThis-class.
Code
public function getBlockDisplaySettings() {
$settings = variable_get(self::BLOCK_WIDGET_SETTINGS_KEY, NULL);
if ($settings == NULL && $this
->getBlockDisplayType() != self::WIDGET_TYPE_DISABLED) {
$settings = field_info_formatter_settings($this
->getBlockDisplayType());
}
return $settings;
}