You are here

User.php in Form mode manager 8

Same filename and directory in other branches
  1. 8.2 src/Plugin/EntityRoutingMap/User.php

File

src/Plugin/EntityRoutingMap/User.php
View 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 {

}

Classes

Namesort descending Description
User Class User.