User.php in Form mode manager 8
Same filename and directory in other branches
File
src/Plugin/EntityRoutingMap/User.phpView source
<?php
namespace Drupal\form_mode_manager\Plugin\EntityRoutingMap;
use Drupal\form_mode_manager\EntityRoutingMapBase;
/**
* Class User.
*
* @EntityRoutingMap(
* id = "user",
* label = @Translation("User Routes properties"),
* targetEntityType = "user",
* defaultFormClass = "register",
* editFormClass = "default",
* operations = {
* "add_form" = "user.register",
* "edit_form" = "entity.user.edit_form",
* "admin_add" = "user.admin_create"
* }
* )
*/
class User extends EntityRoutingMapBase {
}