/**
  *
  */
 public static function do_before_ajax_delete()
 {
     // Ensure we have a valid form
     if (!isset($_POST['submitted']) && !isset($_POST['post_nonce_field']) && !wp_verify_nonce($_POST['post_nonce_field'], 'post_nonce')) {
         // Nounce field did not validate
         wp_send_json_error(array('message' => "Invalid form operation!"));
     }
     // Ensure we have a valid ID
     if (!isset($_POST['id'])) {
         wp_send_json_error(array('message' => "Entity identifier missing"));
     }
     $artifact_name = EntityRequestUtils::get_artifact_name();
     $entity_data = EntityAPIUtils::init_entity_data($artifact_name);
     return $entity_data;
 }