+ /**
+ * Sets the wrapped table mapping definition.
+ *
+ * @param \Drupal\Core\Entity\Sql\TableMappingInterface $table_mapping
+ * The table mapping.
+ *
+ * @internal Only to be used internally by Entity API. Expected to be removed
+ * by https://www.drupal.org/node/2554235.
+ */
+ public function setTableMapping(TableMappingInterface $table_mapping) {
+ $this->tableMapping = $table_mapping;
+ }
+
+ /**
+ * Changes the temporary state of the storage.
+ *
+ * @param bool $temporary
+ * Whether to use a temporary table mapping or not.
+ *
+ * @internal Only to be used internally by Entity API.
+ */
+ public function setTemporary($temporary) {
+ $this->temporary = $temporary;
+ }
+