function gdpr_task_load_multiple in General Data Protection Regulation 7
Load tasks from the database.
Parameters
array|bool $ids: An array of task IDs.
array $conditions: (deprecated) An associative array of conditions on the {gdpr_task} table, where the keys are the database fields and the values are the values those fields must have. Instead, it is preferable to use EntityFieldQuery to retrieve a list of entity IDs loadable by this function.
bool $reset: Whether to reset the internal static entity cache.
Return value
array An array of task objects, indexed by task ID.
See also
1 call to gdpr_task_load_multiple()
- gdpr_tasks_get_user_tasks in modules/
gdpr_tasks/ gdpr_tasks.module - Get a list of tasks for a user.
File
- modules/
gdpr_tasks/ gdpr_tasks.module, line 385 - Module file for the GDPR Tasks module.
Code
function gdpr_task_load_multiple($ids = FALSE, array $conditions = array(), $reset = FALSE) {
return entity_load('gdpr_task', $ids, $conditions, $reset);
}