You are here

function _webform_get_array_file_uuids in Webform 8.5

Same name and namespace in other branches
  1. 6.x includes/webform.editor.inc \_webform_get_array_file_uuids()

Finds all files referenced (data-entity-uuid) in an associative array.

Parameters

array $data: An associative array.

Return value

array An array of file entity UUIDs.

See also

_editor_get_file_uuids_by_field()

3 calls to _webform_get_array_file_uuids()
_webform_config_delete in includes/webform.editor.inc
Delete config editor file references.
_webform_config_update in includes/webform.editor.inc
Update config editor file references.
_webform_get_config_entity_file_uuids in includes/webform.editor.inc
Finds all files referenced (data-entity-uuid) by config entity.

File

includes/webform.editor.inc, line 136
Webform module editor file upload hooks.

Code

function _webform_get_array_file_uuids(array $data) {
  $text = Yaml::encode($data);
  return _webform_parse_file_uuids($text);
}