+--------------------------------------------------------------------+
*/
+/**
+ * @param $apiRequest
+ *
+ * @return array
+ * @throws API_Exception
+ */
function civicrm_api3_generic_getActions($apiRequest) {
civicrm_api3_verify_mandatory($apiRequest, NULL, array('entity'));
$mfp = \Civi\Core\Container::singleton()->get('magic_function_provider');