security update for uuid xmlsitemap file_field_path

This commit is contained in:
2018-10-13 16:01:24 +02:00
parent f7ae17e6c4
commit a163542966
109 changed files with 5458 additions and 1952 deletions

View File

@@ -42,7 +42,9 @@ function uuid_devel_load_by_uuid($entity_type, $entity) {
// Get the keys for local ID and UUID.
$uuid_key = $info['entity keys']['uuid'];
$uuid_entities = entity_uuid_load($entity_type, array($entity->{$uuid_key}));
// @codingStandardsIgnoreStart
return kdevel_print_object(reset($uuid_entities), '$' . $entity_type . '->');
// @codingStandardsIgnoreEnd
}
else {
return t("This entity doesn't support UUID.");