You are here

public function DisabledStockEvents::saveConfigFormOptions in Commerce Stock 8

Save the configuration options.

Parameters

array $form: The stock manager configuration form holding the option elements.

\Drupal\Core\Form\FormStateInterface $form_state: The stock manager configuration form state.

Overrides StockEventsInterface::saveConfigFormOptions

File

src/Plugin/StockEvents/DisabledStockEvents.php, line 45

Class

DisabledStockEvents
Core Stock Events.

Namespace

Drupal\commerce_stock\Plugin\StockEvents

Code

public function saveConfigFormOptions(array $form, FormStateInterface $form_state) {

  // Nothing to do.
  return FALSE;
}