Commit cbe1b8b8 authored by catch's avatar catch
Browse files

Issue #1756862 by xjm, damiankloip: Create declared property on...

Issue #1756862 by xjm, damiankloip: Create declared property on ConfigStorageController for uuidKey.
parent c56e41ae
......@@ -48,6 +48,13 @@ class ConfigStorageController implements StorageControllerInterface {
*/
protected $idKey;
/**
* Name of the entity's UUID property.
*
* @var string
*/
protected $uuidKey = 'uuid';
/**
* Implements Drupal\entity\StorageControllerInterface::__construct().
*
......@@ -58,9 +65,6 @@ public function __construct($entityType) {
$this->entityInfo = entity_get_info($entityType);
$this->hookLoadArguments = array();
$this->idKey = $this->entityInfo['entity keys']['id'];
// The UUID key and property is hard-coded for all configurables.
$this->uuidKey = 'uuid';
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment