Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / entity / src / Form / RevisionableContentEntityForm.php
index d4a1b35b397cdc610073292e20f32ee0944630a5..9437aabcd29ad7faf35d68b4a05a90cd47e87d59 100644 (file)
@@ -3,11 +3,16 @@
 namespace Drupal\entity\Form;
 
 use Drupal\Core\Entity\ContentEntityForm;
+use Drupal\Core\Entity\RevisionableEntityBundleInterface;
 use Drupal\Core\Form\FormStateInterface;
-use Drupal\entity\Entity\RevisionableEntityBundleInterface;
+
+@trigger_error('\Drupal\entity\Form\RevisionableContentEntityForm has been deprecated in favor of \Drupal\Core\Entity\ContentEntityForm. Use that instead.');
 
 /**
  * Extends the base entity form with revision support in the UI.
+ *
+ * @deprecated in favor of \Drupal\Core\Entity\ContentEntityForm. Use that
+ *   instead.
  */
 class RevisionableContentEntityForm extends ContentEntityForm {