public function NumberPattern::setTargetEntityTypeId in Commerce Core 8.2
Sets the target entity type ID.
Parameters
string $entity_type_id: The target entity type ID.
Return value
$this
Overrides NumberPatternInterface::setTargetEntityTypeId
File
- modules/
number_pattern/ src/ Entity/ NumberPattern.php, line 116
Class
- NumberPattern
- Defines the number pattern entity class.
Namespace
Drupal\commerce_number_pattern\EntityCode
public function setTargetEntityTypeId($entity_type_id) {
$this->targetEntityType = $entity_type_id;
return $this;
}