Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / metatag / src / Plugin / Field / FieldWidget / MetatagFirehose.php
index b6336a7c352eca9f827ea733576d4de036c77d66..0acbb2b71f162b4d8f353812882f38a4e20dccf4 100644 (file)
@@ -25,6 +25,8 @@ class MetatagFirehose extends WidgetBase implements ContainerFactoryPluginInterf
 
   /**
    * Instance of MetatagManager service.
+   *
+   * @var \Drupal\metatag\MetatagManager
    */
   protected $metatagManager;
 
@@ -86,7 +88,7 @@ class MetatagFirehose extends WidgetBase implements ContainerFactoryPluginInterf
    */
   public function massageFormValues(array $values, array $form, FormStateInterface $form_state) {
     // Flatten the values array to remove the groups and then serialize all the
-    // metatags into one value for storage.
+    // meta tags into one value for storage.
     $tag_manager = \Drupal::service('plugin.manager.metatag.tag');
     $tags = $tag_manager->getDefinitions();
     foreach ($values as &$value) {