EntityManagerInterface.php 471 Bytes
Newer Older
Mateu Aguiló Bosch's avatar
Mateu Aguiló Bosch committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

/**
 * @file
 * Contains Drupal\typed_entity\Entity\EntityManagerInterface.
 */

namespace Drupal\typed_entity\Entity;


interface EntityManagerInterface {

  /**
   * Loads a list of entities.
   *
   * @see entity_load().
   */
  public function entityLoad($entity_type, $ids = FALSE, $conditions = array(), $reset = FALSE);

  /**
   * Extracts entity ids.
   *
   * @see entity_extract_ids().
   */
  public function entityExtractIds($entity_type, $entity);
}