public function Log::getSourceEntityTypeId in Commerce Core 8.2
Gets the source entity type ID.
Return value
string The entity type ID.
Overrides LogInterface::getSourceEntityTypeId
File
- modules/
log/ src/ Entity/ Log.php, line 100
Class
- Log
- Defines the log entity class.
Namespace
Drupal\commerce_log\EntityCode
public function getSourceEntityTypeId() {
return $this
->get('source_entity_type')->value;
}