Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / metatag / metatag.api.php
index 7f3c82c63b8218b8163b4f0786014ab0d7154796..cbdee9ed7000422c5ea2d36850487658fe572eb2 100644 (file)
@@ -9,7 +9,7 @@
  * Provides a ability to integrate alternative routes with metatags.
  *
  * Return an entity when the given route/route parameters matches a certain
- * entity. All metatags will be rendered on that page.
+ * entity. All meta tags will be rendered on that page.
  *
  * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
  *   The route match.
@@ -26,15 +26,15 @@ function hook_metatag_route_entity(\Drupal\Core\Routing\RouteMatchInterface $rou
 }
 
 /**
- * Alter the metatags for pages that are not of content entities.
+ * Alter the meta tags for pages that are not of content entities.
  *
  * @param array $metatags
- *   The special metatags to be added to the page.
+ *   The special meta tags to be added to the page.
  * @param array $context
  *   The context, containing the entity used for token replacements.
  */
 function hook_metatags_alter(array &$metatags, array $context) {
-  // Exclude metatags on frontpage.
+  // Exclude meta tags on frontpage.
   if (\Drupal::service('path.matcher')->isFrontPage()) {
     $metatags = NULL;
   }