You are here

abstract protected function StockLevelWidgetBase::getHelpText in Commerce Stock 8

Provides the help text to explain the widgets use case. Used in settings form.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup|null The help text or NULL.

2 calls to StockLevelWidgetBase::getHelpText()
StockLevelWidgetBase::hasHelpText in modules/field/src/Plugin/Field/FieldWidget/StockLevelWidgetBase.php
Whether a help text is available.
StockLevelWidgetBase::settingsForm in modules/field/src/Plugin/Field/FieldWidget/StockLevelWidgetBase.php
Returns a form to configure settings for the widget.
2 methods override StockLevelWidgetBase::getHelpText()
AbsoluteStockLevelWidget::getHelpText in modules/field/src/Plugin/Field/FieldWidget/AbsoluteStockLevelWidget.php
@inheritdoc
SimpleStockTransactionWidget::getHelpText in modules/field/src/Plugin/Field/FieldWidget/SimpleStockTransactionWidget.php
@inheritdoc

File

modules/field/src/Plugin/Field/FieldWidget/StockLevelWidgetBase.php, line 258

Class

StockLevelWidgetBase
Provides the base structure for commerce stock level widgets.

Namespace

Drupal\commerce_stock_field\Plugin\Field\FieldWidget

Code

protected abstract function getHelpText();