View Content inside of User edit form I created a view content about active classes and now I want to show them inside of user edit form to that they can see their clasess active with a contextual fiter url at view content, how can I make that? please help
You need to pass a contextual filter in the view of User ID, and pass the User ID from url as the value. It doesn't matter if this path is aliased, as it will look at the system path (user/uid) to get the value.

Then, the view will filter content based on relationship to that user id.

Without much more information, that is all I can give you to go on. But if it is a basic setup, that should work.

See: https://www.drupal.org/node/1578564

Then to show it on the form, it depends on what or where you want it.

One way would be to create a Block display of your View, and place it in a region on the block admin page. Be sure to set the visibility to authenticated roles, and the path to 'user/*/edit' so it only shows for users on the user edit form.

Another way, if you want to code it, would be embedding the output into the form with views_embed_view inside of a hook_form_alter for the user edit form. There are some examples on that doc page on how to use it.

Example:

$form['classes'] = [
  '#markup' =&gt; views_embed_view('your_view', 'block_display_id', $user_id);
]


Where $user_id is the user viewing the form.