class EntityRoutingMap in Form mode manager 8
Same name and namespace in other branches
- 8.2 src/Annotation/EntityRoutingMap.php \Drupal\form_mode_manager\Annotation\EntityRoutingMap
Defines form mode manager annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\form_mode_manager\Annotation\EntityRoutingMap
Expanded class hierarchy of EntityRoutingMap
See also
hook_form_mode_manager_display_info_alter()
4 classes are annotated with EntityRoutingMap
- BlockContent in src/
Plugin/ EntityRoutingMap/ BlockContent.php - Class BlockContent.
- Generic in src/
Plugin/ EntityRoutingMap/ Generic.php - Class Generic routing entity mapper.
- Node in src/
Plugin/ EntityRoutingMap/ Node.php - Class Node.
- User in src/
Plugin/ EntityRoutingMap/ User.php - Class User.
File
- src/
Annotation/ EntityRoutingMap.php, line 14
Namespace
Drupal\form_mode_manager\AnnotationView source
class EntityRoutingMap extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the display.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* Gets the target entity type.
*
* @var string
*/
public $targetEntityType;
/**
* Name of Add EntityForm class.
*
* @var string
*/
public $defaultFormClass = 'default';
/**
* Name of Edit EntityForm class.
*
* @var string
*/
public $editFormClass = 'edit';
/**
* A mapping of entity form operation available for that entity.
*
* @var array[]
*/
public $operations = [];
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityRoutingMap:: |
public | property | Name of Add EntityForm class. | |
EntityRoutingMap:: |
public | property | Name of Edit EntityForm class. | |
EntityRoutingMap:: |
public | property | The plugin ID. | |
EntityRoutingMap:: |
public | property | The human-readable name of the display. | |
EntityRoutingMap:: |
public | property | A mapping of entity form operation available for that entity. | |
EntityRoutingMap:: |
public | property | Gets the target entity type. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |