interface EntityInlineFormInterface in Commerce Core 8.2
Defines the interface for inline forms that operate on an entity.
Hierarchy
- interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormInterface
- interface \Drupal\commerce\Plugin\Commerce\InlineForm\EntityInlineFormInterface
- interface \Drupal\commerce\Plugin\Commerce\InlineForm\InlineFormInterface
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
File
- src/
Plugin/ Commerce/ InlineForm/ EntityInlineFormInterface.php, line 12
Namespace
Drupal\commerce\Plugin\Commerce\InlineFormView 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
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 |
EntityInlineFormInterface:: |
public | function | Gets the entity. | 1 |
EntityInlineFormInterface:: |
public | function | Sets the entity. | 1 |
InlineFormInterface:: |
public | function | Builds the inline form. | 1 |
InlineFormInterface:: |
public | function | Gets the inline form label. | 1 |
InlineFormInterface:: |
public | function | Submits the inline form. | 1 |
InlineFormInterface:: |
public | function | Validates the inline form. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |