* 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.
}
/**
- * 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;
}