public function License::setOriginatingOrder in Commerce License 8.2
Sets the originating order.
Parameters
\Drupal\commerce_order\Entity\OrderInterface $originating_order: The originating order.
Return value
$this
Overrides LicenseInterface::setOriginatingOrder
File
- src/
Entity/ License.php, line 299
Class
- License
- Defines the License entity.
Namespace
Drupal\commerce_license\EntityCode
public function setOriginatingOrder(OrderInterface $originating_order) {
$this
->set('originating_order', $originating_order);
return $this;
}