Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / media / src / Entity / MediaType.php
index 89001222184ef5eff47307ac29c778f4bc7d5fbe..3a5add6e5ca70c00b32d96fcfee6acfc7ffcd570 100644 (file)
@@ -100,6 +100,8 @@ class MediaType extends ConfigEntityBundleBase implements MediaTypeInterface, En
    * Whether thumbnail downloads are queued.
    *
    * @var bool
+   *
+   * @see \Drupal\media\MediaTypeInterface::thumbnailDownloadsAreQueued()
    */
   protected $queue_thumbnail_downloads = FALSE;
 
@@ -113,7 +115,15 @@ class MediaType extends ConfigEntityBundleBase implements MediaTypeInterface, En
   /**
    * The media source configuration.
    *
+   * A media source can provide a configuration form with source plugin-specific
+   * configuration settings, which must at least include a source_field element
+   * containing a the name of the source field for the media type. The source
+   * configuration is defined by, and used to load, the source plugin. See
+   * \Drupal\media\MediaTypeInterface for an explanation of media sources.
+   *
    * @var array
+   *
+   * @see \Drupal\media\MediaTypeInterface::getSource()
    */
   protected $source_configuration = [];
 
@@ -125,9 +135,11 @@ class MediaType extends ConfigEntityBundleBase implements MediaTypeInterface, En
   protected $sourcePluginCollection;
 
   /**
-   * Field map. Fields provided by type plugin to be stored as entity fields.
+   * The metadata field map.
    *
    * @var array
+   *
+   * @see \Drupal\media\MediaTypeInterface::getFieldMap()
    */
   protected $field_map = [];