function _webform_get_config_entity_file_uuids in Webform 6.x
Same name and namespace in other branches
- 8.5 includes/webform.editor.inc \_webform_get_config_entity_file_uuids()
Finds all files referenced (data-entity-uuid) by config entity.
Parameters
\Drupal\Core\Config\Entity\ConfigEntityInterface $entity: An entity whose fields to analyze.
Return value
array An array of file entity UUIDs.
See also
_editor_get_file_uuids_by_field()
3 calls to _webform_get_config_entity_file_uuids()
- webform_webform_delete in includes/
webform.editor.inc - Implements hook_webform_delete().
- webform_webform_insert in includes/
webform.editor.inc - Implements hook_webform_insert().
- webform_webform_update in includes/
webform.editor.inc - Implements hook_webform_update().
File
- includes/
webform.editor.inc, line 117 - Webform module editor file upload hooks.
Code
function _webform_get_config_entity_file_uuids(ConfigEntityInterface $entity) {
return _webform_get_array_file_uuids($entity
->toArray());
}