class User in Form mode manager 8
Same name and namespace in other branches
- 8.2 src/Plugin/EntityRoutingMap/User.php \Drupal\form_mode_manager\Plugin\EntityRoutingMap\User
Class User.
Plugin annotation
@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"
  }
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface- class \Drupal\form_mode_manager\EntityRoutingMapBase implements ContainerFactoryPluginInterface, EntityRoutingMapInterface uses StringTranslationTrait- class \Drupal\form_mode_manager\Plugin\EntityRoutingMap\User
 
 
- class \Drupal\form_mode_manager\EntityRoutingMapBase implements ContainerFactoryPluginInterface, EntityRoutingMapInterface uses StringTranslationTrait
Expanded class hierarchy of User
1 string reference to 'User'
- UserFormModeController::pageTitle in src/Controller/ UserFormModeController.php 
- The _title_callback for the entity.add routes.
File
- src/Plugin/ EntityRoutingMap/ User.php, line 23 
Namespace
Drupal\form_mode_manager\Plugin\EntityRoutingMapView source
class User extends EntityRoutingMapBase {
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| EntityRoutingMapBase:: | protected | property | Default form class Definition name. | |
| EntityRoutingMapBase:: | protected | property | Default editing form class Definition name. | |
| EntityRoutingMapBase:: | protected | property | Plugin label. | |
| EntityRoutingMapBase:: | protected | property | Entity type id of entity. | |
| EntityRoutingMapBase:: | public | function | Calculates dependencies for the configured plugin. Overrides DependentPluginInterface:: | |
| EntityRoutingMapBase:: | public static | function | Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface:: | |
| EntityRoutingMapBase:: | public | function | Gets default configuration for this plugin. Overrides ConfigurablePluginInterface:: | 1 | 
| EntityRoutingMapBase:: | public | function | Gets this plugin's configuration. Overrides ConfigurablePluginInterface:: | |
| EntityRoutingMapBase:: | public | function | Get the default form class Definition. Overrides EntityRoutingMapInterface:: | |
| EntityRoutingMapBase:: | public | function | Get the edit form class Definition. Overrides EntityRoutingMapInterface:: | |
| EntityRoutingMapBase:: | public | function | Return the form operation route for given operation. Overrides EntityRoutingMapInterface:: | |
| EntityRoutingMapBase:: | public | function | Return the form operation route mapping. Overrides EntityRoutingMapInterface:: | |
| EntityRoutingMapBase:: | public | function | Gets the target entity type. Overrides EntityRoutingMapInterface:: | |
| EntityRoutingMapBase:: | public | function | Returns the display label. Overrides EntityRoutingMapInterface:: | |
| EntityRoutingMapBase:: | public | function | Sets the configuration for this plugin instance. Overrides ConfigurablePluginInterface:: | |
| EntityRoutingMapBase:: | public | function | Set the default form class Definition. Overrides EntityRoutingMapInterface:: | |
| EntityRoutingMapBase:: | public | function | Set the edit form class Definition. Overrides EntityRoutingMapInterface:: | |
| EntityRoutingMapBase:: | public | function | Set a mapping of operations for Generic plugin. Overrides EntityRoutingMapInterface:: | 1 | 
| EntityRoutingMapBase:: | public | function | Set the target entity type. Overrides EntityRoutingMapInterface:: | |
| EntityRoutingMapBase:: | public | function | Constructs display plugin. Overrides PluginBase:: | |
| PluginBase:: | protected | property | Configuration information passed into the plugin. | 1 | 
| PluginBase:: | protected | property | The plugin implementation definition. | 1 | 
| PluginBase:: | protected | property | The plugin_id. | |
| PluginBase:: | constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
| PluginBase:: | public | function | Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: | |
| PluginBase:: | public | function | Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: | |
| PluginBase:: | public | function | Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: | 3 | 
| PluginBase:: | public | function | Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: | |
| PluginBase:: | public | function | Determines if the plugin is configurable. | |
| StringTranslationTrait:: | protected | property | The string translation service. | 1 | 
| StringTranslationTrait:: | protected | function | Formats a string containing a count of items. | |
| StringTranslationTrait:: | protected | function | Returns the number of plurals supported by a given language. | |
| StringTranslationTrait:: | protected | function | Gets the string translation service. | |
| StringTranslationTrait:: | public | function | Sets the string translation service to use. | 2 | 
| StringTranslationTrait:: | protected | function | Translates a string to the current language or to a given language. | 
