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

@@ -5,26 +5,6 @@
* Hooks provided by the UUID module.
*/
/**
* Defines one or more UUID generators exposed by a module.
*
* @return
* An associative array with the key being the machine name for the
* implementation and the values being an array with the following keys:
* - title: The human readable name for the generator.
* - callback: The function to be called for generating the UUID.
*
* @see uuid_get_info()
*/
function hook_uuid_info() {
$generators = array();
$generators['my_module'] = array(
'title' => t('My module UUID generator'),
'callback' => 'my_module_generate_uuid',
);
return $generators;
}
/**
* Ensures all records have a UUID assigned to them.
*
@@ -38,39 +18,35 @@ function hook_uuid_sync() {
}
/**
* Let modules transform their properties with local IDs to UUIDs when an
* entity is loaded.
* Transform entity properties from local IDs to UUIDs when they are loaded.
*/
function hook_entity_uuid_load(&$entities, $entity_type) {
}
/**
* Let modules transform their fields with local IDs to UUIDs when an entity
* is loaded.
* Transform field values from local IDs to UUIDs when an entity is loaded.
*/
function hook_field_uuid_load($entity_type, $entity, $field, $instance, $langcode, &$items) {
}
/**
* Let modules transform their properties with UUIDs to local IDs when an
* entity is saved.
* Transform entity properties from UUIDs to local IDs before entity is saved.
*/
function hook_entity_uuid_presave(&$entity, $entity_type) {
}
/**
* Let modules transform their fields with UUIDs to local IDs when an entity
* is saved.
* Transform field values from UUIDs to local IDs before an entity is saved.
*/
function hook_field_uuid_presave($entity_type, $entity, $field, $instance, $langcode, &$items) {
}
/**
* Let modules transform their properties when an entity is saved.
* Transform entity properties after an entity is saved.
*/
function hook_entity_uuid_save($entity, $entity_type) {
@@ -78,20 +54,24 @@ function hook_entity_uuid_save($entity, $entity_type) {
/**
* Let modules act when an entity is deleted.
*
* Generally hook_entity_delete() should be used instead of this hook.
*
* @see hook_entity_delete()
*/
function hook_entity_uuid_delete($entity, $entity_type) {
}
/**
* Let modules modify paths when they are being converted to UUID ones.
* Modifies paths when they are being converted to UUID ones.
*/
function hook_uuid_menu_path_to_uri_alter($path, &$uri) {
}
/**
* Let modules modify paths when they are being converted from UUID ones.
* Modifies paths when they are being converted from UUID ones.
*/
function hook_uuid_menu_uri_to_path(&$path, $uri) {
@@ -121,14 +101,14 @@ function hook_uuid_entities_post_rebuild($plan_name) {
/**
* Let other modules do things before default entities are created on revert.
*/
function hook_uuid_entities_pre_rebuild($plan_name) {
function hook_uuid_entities_pre_revert($plan_name) {
}
/**
* Let other modules do things after default entities are created on revert.
*/
function hook_uuid_entities_post_rebuild($plan_name) {
function hook_uuid_entities_post_revert($plan_name) {
}
@@ -152,12 +132,6 @@ function hook_uuid_entities_features_export_field_alter($entity_type, &$entity,
function hook_uuid_uri_data($data) {
}
/**
* Alter UUID URI data after processing.
*/
function hook_uuid_uri_data($data) {
}
/**
* Alter entity URI before creating UUID URI.
*/