Pull merge.
[yaffs-website] / web / core / modules / migrate / src / Plugin / migrate / destination / ComponentEntityDisplayBase.php
index 660248494e110a1327ee08b5d5345ed18cb9021b..1c94214fd5a79dca74fed929f5a65fd574807c8a 100644 (file)
@@ -6,7 +6,14 @@ use Drupal\migrate\Plugin\MigrationInterface;
 use Drupal\migrate\Row;
 
 /**
- * Defines the base abstract class for component entity display.
+ * Provides a destination plugin for migrating entity display components.
+ *
+ * Display modes provide different presentations for viewing ('view modes') or
+ * editing ('form modes') content. This destination plugin is an abstract base
+ * class for migrating fields and other components into view and form modes.
+ *
+ * @see \Drupal\migrate\Plugin\migrate\destination\PerComponentEntityDisplay
+ * @see \Drupal\migrate\Plugin\migrate\destination\PerComponentEntityFormDisplay
  */
 abstract class ComponentEntityDisplayBase extends DestinationBase {
 
@@ -64,6 +71,6 @@ abstract class ComponentEntityDisplayBase extends DestinationBase {
    * @return \Drupal\Core\Entity\Display\EntityDisplayInterface
    *   The entity display object.
    */
-  protected abstract function getEntity($entity_type, $bundle, $mode);
+  abstract protected function getEntity($entity_type, $bundle, $mode);
 
 }