You are here

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_field

Code

public function getValue() {
  $this
    ->ensureComputedValue();
  return $this->processedLevel;
}