You are here

interface EntityRoutingMapInterface in Form mode manager 8.2

Same name and namespace in other branches
  1. 8 src/EntityRoutingMapInterface.php \Drupal\form_mode_manager\EntityRoutingMapInterface

EntityRoutingMapInterface interface class.

Hierarchy

Expanded class hierarchy of EntityRoutingMapInterface

All classes that implement EntityRoutingMapInterface

File

src/EntityRoutingMapInterface.php, line 12

Namespace

Drupal\form_mode_manager
View 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

Namesort descending Modifiers Type Description Overrides
ConfigurableInterface::defaultConfiguration public function Gets default configuration for this plugin. 11
ConfigurableInterface::getConfiguration public function Gets this plugin's configuration. 12
ConfigurableInterface::setConfiguration public function Sets the configuration for this plugin instance. 12
DependentPluginInterface::calculateDependencies public function Calculates dependencies for the configured plugin. 19
EntityRoutingMapInterface::getContextualLink public function Return the contextual links mapping for given operation. 1
EntityRoutingMapInterface::getContextualLinks public function Return the contextual links mapping. 1
EntityRoutingMapInterface::getDefaultFormClass public function Get the default form class Definition. 1
EntityRoutingMapInterface::getEditFormClass public function Get the edit form class Definition. 1
EntityRoutingMapInterface::getOperation public function Return the form operation route for given operation. 1
EntityRoutingMapInterface::getOperations public function Return the form operation route mapping. 1
EntityRoutingMapInterface::getTargetEntityType public function Gets the target entity type. 1
EntityRoutingMapInterface::label public function Returns the display label. 1
EntityRoutingMapInterface::setContextualLinks public function Return contextual links route mapping. 1
EntityRoutingMapInterface::setDefaultFormClass public function Set the default form class Definition. 1
EntityRoutingMapInterface::setEditFormClass public function Set the edit form class Definition. 1
EntityRoutingMapInterface::setOperations public function Set a mapping of operations for Generic plugin. 1
EntityRoutingMapInterface::setTargetEntityType public function Set the target entity type. 1
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2