You are here

interface EntityInlineFormInterface in Commerce Core 8.2

Defines the interface for inline forms that operate on an entity.

Hierarchy

Expanded class hierarchy of EntityInlineFormInterface

All classes that implement EntityInlineFormInterface

See also

\Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormInterface

1 file declares its use of EntityInlineFormInterface
InlineFormManager.php in src/InlineFormManager.php

File

src/Plugin/Commerce/InlineForm/EntityInlineFormInterface.php, line 12

Namespace

Drupal\commerce\Plugin\Commerce\InlineForm
View source
interface EntityInlineFormInterface extends InlineFormInterface {

  /**
   * Gets the entity.
   *
   * @return \Drupal\Core\Entity\EntityInterface
   *   The entity.
   */
  public function getEntity();

  /**
   * Sets the entity.
   *
   * @param \Drupal\Core\Entity\EntityInterface $entity
   *   The entity.
   *
   * @return $this
   */
  public function setEntity(EntityInterface $entity);

}

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
EntityInlineFormInterface::getEntity public function Gets the entity. 1
EntityInlineFormInterface::setEntity public function Sets the entity. 1
InlineFormInterface::buildInlineForm public function Builds the inline form. 1
InlineFormInterface::getLabel public function Gets the inline form label. 1
InlineFormInterface::submitInlineForm public function Submits the inline form. 1
InlineFormInterface::validateInlineForm public function Validates the inline form. 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