aboutsummaryrefslogtreecommitdiff
path: root/fblikebutton.module
diff options
context:
space:
mode:
Diffstat (limited to 'fblikebutton.module')
-rw-r--r--fblikebutton.module11
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,
+ );
+}