public function EntityInlineFormInterface::getEntity in Commerce Core 8.2
Gets the entity.
Return value
\Drupal\Core\Entity\EntityInterface The entity.
1 method overrides EntityInlineFormInterface::getEntity()
- EntityInlineFormBase::getEntity in src/
Plugin/ Commerce/ InlineForm/ EntityInlineFormBase.php - Gets the entity.
File
- src/
Plugin/ Commerce/ InlineForm/ EntityInlineFormInterface.php, line 20
Class
- EntityInlineFormInterface
- Defines the interface for inline forms that operate on an entity.
Namespace
Drupal\commerce\Plugin\Commerce\InlineFormCode
public function getEntity();