From edeae898f6d6bbe4fbcbe89079e1f7f7c13abf70 Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 30 Mar 2012 16:20:06 -0300 Subject: Initial view support (upstream #1121906) --- fblikebutton.module | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'fblikebutton.module') 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 = ''; return $output; -} \ No newline at end of file +} + +/** + * Implementes hook_views_data() + */ +function fblikebutton_views_api() { + return array( + 'api' => 3, + ); +} -- cgit v1.2.3