Révision 503b3f7b
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/entity/includes/entity.inc | ||
---|---|---|
56 | 56 |
$this->entityInfo = entity_get_info($this->entityType); |
57 | 57 |
$this->idKey = $this->entityInfo['entity keys']['id']; |
58 | 58 |
$this->nameKey = isset($this->entityInfo['entity keys']['name']) ? $this->entityInfo['entity keys']['name'] : $this->idKey; |
59 |
$this->statusKey = empty($info['entity keys']['status']) ? 'status' : $info['entity keys']['status'];
|
|
59 |
$this->statusKey = empty($this->entityInfo['entity keys']['status']) ? 'status' : $this->entityInfo['entity keys']['status'];
|
|
60 | 60 |
} |
61 | 61 |
|
62 | 62 |
/** |
Formats disponibles : Unified diff
Weekly update of contrib modules