summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStein Magne Bjorklund2017-06-20 18:33:09 (GMT)
committerStein Magne Bjorklund2017-06-20 18:36:45 (GMT)
commitf4249b4e529e603be75cecc0bdb328eef8b8a69a (patch)
tree893735bffe5399c1ee8d4ca53e38b3d2f15408bd
parent3fd1565a7a883b65e129d503208bfdf2cf67e889 (diff)
Improved docblocks
-rw-r--r--includes/media_flickr.formatters.inc18
1 files changed, 17 insertions, 1 deletions
diff --git a/includes/media_flickr.formatters.inc b/includes/media_flickr.formatters.inc
index f2f7013..0cc9c0a 100644
--- a/includes/media_flickr.formatters.inc
+++ b/includes/media_flickr.formatters.inc
@@ -2,6 +2,7 @@
/**
* @file
+ * File formatters for Flickr images.
*/
/**
@@ -34,6 +35,10 @@ function media_flickr_file_formatter_info() {
/**
* Implements hook_file_formatter_FORMATTER_view().
+ *
+ * @param $file
+ * @param $display
+ * @param $langcode
*/
function media_flickr_file_formatter_video_view($file, $display, $langcode) {
$scheme = file_uri_scheme($file->uri);
@@ -52,6 +57,10 @@ function media_flickr_file_formatter_video_view($file, $display, $langcode) {
/**
* Implements hook_file_formatter_FORMATTER_settings().
+ *
+ * @param $form
+ * @param $form_state
+ * @param $settings
*/
function media_flickr_file_formatter_video_settings($form, &$form_state, $settings) {
$element = array();
@@ -75,6 +84,10 @@ function media_flickr_file_formatter_video_settings($form, &$form_state, $settin
/**
* Implements hook_file_formatter_FORMATTER_view().
+ *
+ * @param $file
+ * @param $display
+ * @param $langcode
*/
function media_flickr_file_formatter_image_view($file, $display, $langcode) {
$scheme = file_uri_scheme($file->uri);
@@ -112,6 +125,10 @@ function media_flickr_file_formatter_image_view($file, $display, $langcode) {
/**
* Implements hook_file_formatter_FORMATTER_settings().
+ *
+ * @param $form
+ * @param $form_state
+ * @param $settings
*/
function media_flickr_file_formatter_image_settings($form, &$form_state, $settings) {
$element = array();
@@ -182,4 +199,3 @@ function media_flickr_file_default_displays() {
return $default_displays;
}
-