You are here

public function DisabledStockEvents::configFormOptions in Commerce Stock 8

Return form elements holding the configuration options.

Overrides StockEventsInterface::configFormOptions

File

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

Class

DisabledStockEvents
Core Stock Events.

Namespace

Drupal\commerce_stock\Plugin\StockEvents

Code

public function configFormOptions() {

  // No configuration.
  $form['na'] = [
    '#type' => 'markup',
    '#markup' => t('No configuration options.'),
  ];
  return $form;
}