diff options
author | Silvio <silvio@socioambiental.org> | 2012-03-30 16:20:06 -0300 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2012-03-30 16:20:06 -0300 |
commit | edeae898f6d6bbe4fbcbe89079e1f7f7c13abf70 (patch) | |
tree | b5c74534f5c52e3fa55e98dffd8313233ebe7da5 /fblikebutton.module | |
parent | fb5e2ad9c7e7f94c5acb2327b809b08583581bb5 (diff) | |
download | fblikebutton-edeae898f6d6bbe4fbcbe89079e1f7f7c13abf70.tar.gz fblikebutton-edeae898f6d6bbe4fbcbe89079e1f7f7c13abf70.tar.bz2 |
Initial view support (upstream #1121906)
Diffstat (limited to 'fblikebutton.module')
-rw-r--r-- | fblikebutton.module | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/fblikebutton.module b/fblikebutton.module index cb191b6..2ca00c5 100644 --- a/fblikebutton.module +++ b/fblikebutton.module @@ -225,4 +225,13 @@ function _fblikebutton_field($webpage_to_like, $conf) { $src = htmlentities($params); $output = '<iframe src="https://www.facebook.com/plugins/like.php?' . $src . '" scrolling="no" frameborder="0" style="border: none; overflow: hidden; width: ' . $width . 'px; height: ' . $height . 'px;' . $other_css . '" allowTransparency="true"></iframe>'; return $output; -}
\ No newline at end of file +} + +/** + * Implementes hook_views_data() + */ +function fblikebutton_views_api() { + return array( + 'api' => 3, + ); +} |