protected function Infinite::shouldReset in Commerce Core 8.2
Gets whether the sequence should be reset.
Parameters
\Drupal\commerce_number_pattern\Sequence $current_sequence: The current sequence.
Return value
bool TRUE if the sequence should be reset, FALSE otherwise.
Overrides SequentialNumberPatternBase::shouldReset
File
- modules/
number_pattern/ src/ Plugin/ Commerce/ NumberPattern/ Infinite.php, line 20
Class
- Infinite
- Provides the infinite number pattern.
Namespace
Drupal\commerce_number_pattern\Plugin\Commerce\NumberPatternCode
protected function shouldReset(Sequence $current_sequence) {
return FALSE;
}