Skip to content

Commit

Permalink
Fix #68: Implement new FacebookPlugin::SAVE button
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Mar 15, 2017
1 parent 637326e commit 7b0f259
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ version 1.3.3
- (enh #66): Add Lithuanian Translations.
- (enh #67): Add new class `kartik\social\FacebookPersistentHandler`.
- Update message config to include all default standard translation files.
- (enh #68): New `FacebookPlugin::SAVE` button.

version 1.3.2
=============
Expand Down
4 changes: 3 additions & 1 deletion FacebookPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class FacebookPlugin extends Widget
const LIKE = 'fb-like';
const SHARE = 'fb-share-button';
const SEND = 'fb-send';
const SAVE = 'fb-save';
const POST = 'fb-post';
const VIDEO = 'fb-video';
const FOLLOW = 'fb-follow';
Expand Down Expand Up @@ -60,7 +61,7 @@ class FacebookPlugin extends Widget
public $settings = [];

/**
* Initialize the widget
* @inheritdoc
*
* @throws InvalidConfigException
*/
Expand All @@ -70,6 +71,7 @@ public function init()
self::LIKE,
self::SHARE,
self::SEND,
self::SAVE,
self::POST,
self::VIDEO,
self::FOLLOW,
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Module that enables access to social plugins for Yii Framework 2.0. It includes
- Like Button
- Share Button
- Send Button
- Save Button
- Embedded Posts
- Embedded Videos
- Follow Button
Expand Down

0 comments on commit 7b0f259

Please sign in to comment.