Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / lib / Drupal / Core / Entity / DynamicallyFieldableEntityStorageInterface.php
index 04d1b1e05c8fdc9caad05fc82070d498750aad7c..cf303a26567e6039acfb7b8a52a886d1a8aa27f4 100644 (file)
@@ -2,9 +2,7 @@
 
 namespace Drupal\Core\Entity;
 
-use Drupal\Core\Field\FieldDefinitionInterface;
 use Drupal\Core\Field\FieldDefinitionListenerInterface;
-use Drupal\Core\Field\FieldStorageDefinitionInterface;
 use Drupal\Core\Field\FieldStorageDefinitionListenerInterface;
 
 /**
@@ -18,27 +16,4 @@ use Drupal\Core\Field\FieldStorageDefinitionListenerInterface;
  */
 interface DynamicallyFieldableEntityStorageInterface extends FieldableEntityStorageInterface, FieldStorageDefinitionListenerInterface, FieldDefinitionListenerInterface {
 
-  /**
-   * Purges a batch of field data.
-   *
-   * @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
-   *   The deleted field whose data is being purged.
-   * @param $batch_size
-   *   The maximum number of field data records to purge before returning,
-   *   relating to the count of field data records returned by
-   *   \Drupal\Core\Entity\FieldableEntityStorageInterface::countFieldData().
-   *
-   * @return int
-   *   The number of field data records that have been purged.
-   */
-  public function purgeFieldData(FieldDefinitionInterface $field_definition, $batch_size);
-
-  /**
-   * Performs final cleanup after all data of a field has been purged.
-   *
-   * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition
-   *   The field being purged.
-   */
-  public function finalizePurge(FieldStorageDefinitionInterface $storage_definition);
-
 }