public function NumberPattern::setPluginId in Commerce Core 8.2
Sets the number pattern plugin ID.
Parameters
string $plugin_id: The number pattern plugin ID.
Return value
$this
Overrides NumberPatternInterface::setPluginId
1 call to NumberPattern::setPluginId()
- NumberPattern::set in modules/
number_pattern/ src/ Entity/ NumberPattern.php - Sets the value of a property.
File
- modules/
number_pattern/ src/ Entity/ NumberPattern.php, line 138
Class
- NumberPattern
- Defines the number pattern entity class.
Namespace
Drupal\commerce_number_pattern\EntityCode
public function setPluginId($plugin_id) {
$this->plugin = $plugin_id;
$this->configuration = [];
$this->pluginCollection = NULL;
return $this;
}