public function StockLevelProcessor::getValue in Commerce Stock 8
Gets the data value.
Return value
mixed The data value.
Overrides TypedData::getValue
File
- modules/
field/ src/ StockLevelProcessor.php, line 29
Class
- StockLevelProcessor
- Processor used by the StockLevel field.
Namespace
Drupal\commerce_stock_fieldCode
public function getValue() {
$this
->ensureComputedValue();
return $this->processedLevel;
}