public function Log::getSourceEntityId in Commerce Core 8.2
Gets the source entity ID.
Return value
mixed The entity ID.
Overrides LogInterface::getSourceEntityId
1 call to Log::getSourceEntityId()
- Log::getSourceEntity in modules/
log/ src/ Entity/ Log.php - Gets the source entity.
File
- modules/
log/ src/ Entity/ Log.php, line 93
Class
- Log
- Defines the log entity class.
Namespace
Drupal\commerce_log\EntityCode
public function getSourceEntityId() {
return $this
->get('source_entity_id')->value;
}