issues
search
d8-contrib-modules
/
addthis
Port AddThis to D8
GNU General Public License v2.0
3
stars
13
forks
source link
Issues/25
#53
Closed
pjonckiere
closed
8 years ago
pjonckiere
commented
9 years ago
config is handled by config management in core (AddThisSettingsForm & AddThisSettingsFormAdvanced)
the json object was just initialized, thus shouldn’t be stored as a variable
getServices() and getServicesJsonUrl() should live in a service
fixed some docblocks
check_url() is deprecated, so replaced by Html::escape(UrlHelper::stripDangerousProtocols($uri))
the AddThis class has no use anymore so can be safely removed
in AddThisSettingForm, the $configFactory is stored on it’s parent so there is no need to save another variable with that value