interface EntityRoutingMapInterface in Form mode manager 8.2
Same name and namespace in other branches
- 8 src/EntityRoutingMapInterface.php \Drupal\form_mode_manager\EntityRoutingMapInterface
EntityRoutingMapInterface interface class.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface
- interface \Drupal\form_mode_manager\EntityRoutingMapInterface
Expanded class hierarchy of EntityRoutingMapInterface
All classes that implement EntityRoutingMapInterface
File
- src/
EntityRoutingMapInterface.php, line 12
Namespace
Drupal\form_mode_managerView source
interface EntityRoutingMapInterface extends PluginInspectionInterface, ConfigurableInterface, DependentPluginInterface {
/**
* Returns the display label.
*
* @return string
* The display label.
*/
public function label();
/**
* Return the form operation route for given operation.
*
* @return string
* The route of given operation.
*/
public function getOperation($operation_name);
/**
* Return the form operation route mapping.
*
* @return array[]
* The mapping of each entity form operation given by plugin annotation.
*/
public function getOperations();
/**
* Set a mapping of operations for Generic plugin.
*/
public function setOperations();
/**
* Gets the target entity type.
*
* @return string
* The target entity type.
*/
public function getTargetEntityType();
/**
* Return the contextual links mapping.
*
* @return array[]
* The mapping of each entity contextual links given by plugin annotation.
*/
public function getContextualLinks();
/**
* Return the contextual links mapping for given operation.
*
* @return string
* The contextual link name for given operation.
*/
public function getContextualLink($operation_name);
/**
* Get the default form class Definition.
*
* @return string
* The name of entity default form class.
*/
public function getDefaultFormClass();
/**
* Return contextual links route mapping.
*
* @return array[]
* The mapping of each entity contextual links given by plugin annotation.
*/
public function setContextualLinks();
/**
* Set the default form class Definition.
*/
public function setDefaultFormClass();
/**
* Get the edit form class Definition.
*
* @return string
* The name of entity default form class.
*/
public function getEditFormClass();
/**
* Set the edit form class Definition.
*/
public function setEditFormClass();
/**
* Set the target entity type.
*/
public function setTargetEntityType();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
EntityRoutingMapInterface:: |
public | function | Return the contextual links mapping for given operation. | 1 |
EntityRoutingMapInterface:: |
public | function | Return the contextual links mapping. | 1 |
EntityRoutingMapInterface:: |
public | function | Get the default form class Definition. | 1 |
EntityRoutingMapInterface:: |
public | function | Get the edit form class Definition. | 1 |
EntityRoutingMapInterface:: |
public | function | Return the form operation route for given operation. | 1 |
EntityRoutingMapInterface:: |
public | function | Return the form operation route mapping. | 1 |
EntityRoutingMapInterface:: |
public | function | Gets the target entity type. | 1 |
EntityRoutingMapInterface:: |
public | function | Returns the display label. | 1 |
EntityRoutingMapInterface:: |
public | function | Return contextual links route mapping. | 1 |
EntityRoutingMapInterface:: |
public | function | Set the default form class Definition. | 1 |
EntityRoutingMapInterface:: |
public | function | Set the edit form class Definition. | 1 |
EntityRoutingMapInterface:: |
public | function | Set a mapping of operations for Generic plugin. | 1 |
EntityRoutingMapInterface:: |
public | function | Set the target entity type. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |