EntityManagerInterface.php 1.16 KB
Newer Older
1 2 3 4
<?php

namespace Drupal\Core\Entity;

5
use Drupal\Core\Field\FieldDefinitionListenerInterface;
6
use Drupal\Core\Field\FieldStorageDefinitionListenerInterface;
7 8 9

/**
 * Provides an interface for entity type managers.
10 11
 *
 * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
12
 */
13
interface EntityManagerInterface extends EntityTypeListenerInterface, EntityBundleListenerInterface, FieldStorageDefinitionListenerInterface, FieldDefinitionListenerInterface, EntityTypeManagerInterface, EntityTypeRepositoryInterface, EntityTypeBundleInfoInterface, EntityDisplayRepositoryInterface, EntityFieldManagerInterface, EntityRepositoryInterface {
14 15

  /**
16
   * @see \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledDefinition()
17
   *
18
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
19 20 21
   */
  public function getLastInstalledDefinition($entity_type_id);

22
  /**
23
   * @see \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledFieldStorageDefinitions()
24
   *
25
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
26
   */
27
  public function getLastInstalledFieldStorageDefinitions($entity_type_id);
28

29
}