I have problem in view which have a exposed filter as user entity field. username/Author works as Entity reference in exposed form but I have few other user reference field which I would like to exposed as entity autocomplete field. But unfortunately it shows as just text field when I tried to filter with those values. I found a way around it and solve it.
I've created a view with path
/user/%/articles to list all articles authored by the user, and now I want to add it as a tab on the user profile page. I tried to configure the menu in the view's configuration page but I can't tell what should be used as the parent menu.
Does anybody know how to do this correctly?
Figured this out. Drupal 8
Menu: User account menu > My account
This tutorial will guide you how you can create user programitically and also allow the created user to make login for the system after creation. This also help you to know what is the best way to create a user in drupal 8.
For the code perspective, services are accessed via the generic
\Drupal::service() method but in your code it is not recommended to use, use dependency injection to include other services in your class.