Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / entity / tests / modules / entity_module_test / src / Entity / EnhancedEntityBundle.php
diff --git a/web/modules/contrib/entity/tests/modules/entity_module_test/src/Entity/EnhancedEntityBundle.php b/web/modules/contrib/entity/tests/modules/entity_module_test/src/Entity/EnhancedEntityBundle.php
deleted file mode 100644 (file)
index 48524a8..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<?php
-
-namespace Drupal\entity_module_test\Entity;
-
-use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
-use Drupal\Core\Entity\EntityDescriptionInterface;
-use Drupal\Core\Entity\RevisionableEntityBundleInterface;
-
-/**
- * Provides bundles for the test entity.
- *
- * @ConfigEntityType(
- *   id = "entity_test_enhanced_bundle",
- *   label = @Translation("Entity test with enhancments - Bundle"),
- *   admin_permission = "administer entity_test_enhanced",
- *   config_prefix = "entity_test_enhanced_bundle",
- *   bundle_of = "entity_test_enhanced",
- *   entity_keys = {
- *     "id" = "id",
- *     "label" = "label"
- *   },
- *   config_export = {
- *     "id",
- *     "label",
- *     "description"
- *   },
- * )
- */
-class EnhancedEntityBundle extends ConfigEntityBundleBase implements EntityDescriptionInterface, RevisionableEntityBundleInterface {
-
-  /**
-   * The bundle ID.
-   *
-   * @var string
-   */
-  protected $id;
-
-  /**
-   * The bundle label.
-   *
-   * @var string
-   */
-  protected $label;
-
-  /**
-   * The bundle description.
-   *
-   * @var string
-   */
-  protected $description;
-
-  /**
-   * Should new entities of this bundle have a new revision by default.
-   *
-   * @var bool
-   */
-  protected $new_revision = FALSE;
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getDescription() {
-    return $this->description;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setDescription($description) {
-    $this->description = $description;
-    return $this;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function shouldCreateNewRevision() {
-    return $this->new_revision;
-  }
-
-}