public function EntityInlineFormBase::getEntity in Commerce Core 8.2
Gets the entity.
Return value
\Drupal\Core\Entity\EntityInterface The entity.
Overrides EntityInlineFormInterface::getEntity
File
- src/
Plugin/ Commerce/ InlineForm/ EntityInlineFormBase.php, line 22
Class
- EntityInlineFormBase
- Provides the base class for inline forms that operate on an entity.
Namespace
Drupal\commerce\Plugin\Commerce\InlineFormCode
public function getEntity() {
return $this->entity;
}