Skip to content
Snippets Groups Projects
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
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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';
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment