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

@@ -6,8 +6,7 @@
*/
/**
* Plugins are described by creating a $plugin array which will be used
* by the system that includes this file.
* CTools UUID entity context plugin definition.
*/
$plugin = array(
'title' => t("Entity: UUID"),
@@ -17,11 +16,27 @@ $plugin = array(
'get children' => 'uuid_entity_uuid_get_children',
);
/**
* Fetches the "child" information for a given parent entity.
*
* @todo document me properly.
*
* @return array
* The children.
*/
function uuid_entity_uuid_get_child($plugin, $parent, $child) {
$plugins = uuid_entity_uuid_get_children($plugin, $parent);
return $plugins[$parent . ':' . $child];
}
/**
* Fetches all children types for a given parent entity.
*
* @todo document me properly.
*
* @return array
* All the children.
*/
function uuid_entity_uuid_get_children($original_plugin, $parent) {
$entities = entity_get_info();
$plugins = array();