Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / metatag / metatag_views / metatag_views.module
index 4a09b611298edb6d7d5e0e402ec47f486339df1a..463fb0f6365ef6dbf501e292b3e2a6357105cc04 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 /**
+ * @file
  * Contains hook implementations for the metatag_views module.
  */
 
@@ -10,16 +11,16 @@ use Drupal\views\ViewExecutable;
 use Drupal\views\Views;
 
 /**
- * Gets the metatags of a specific view, if set.
+ * Gets the meta tags of a specific view, if set.
  *
  * @param mixed $view
  *   The view id, view config entity or view executable.
- * @param string $display
+ * @param string $display_id
  *   The display id. If empty uses the preselected display if $view is a
  *   ViewExecutable, otherwise the default display.
  *
  * @return array|null
- *   The metatags if set, null otherwise.
+ *   The meta tags if set, null otherwise.
  */
 function metatag_get_view_tags($view, $display_id = NULL) {
   if (empty($view)) {