abstract public function CshsOptionsFromHelper::getSetting in Client-side Hierarchical Select 8
Same name and namespace in other branches
- 8.3 src/CshsOptionsFromHelper.php \Drupal\cshs\CshsOptionsFromHelper::getSetting()
- 8.2 src/CshsOptionsFromHelper.php \Drupal\cshs\CshsOptionsFromHelper::getSetting()
Returns the value of a setting, or its default value if absent.
Parameters
string $key: The setting name.
Return value
mixed The setting value.
3 calls to CshsOptionsFromHelper::getSetting()
- CshsOptionsFromHelper::getTranslatedLevelLabels in src/
CshsOptionsFromHelper.php - Returns translated labels with escaped markup.
- CshsOptionsFromHelper::settingsForm in src/
CshsOptionsFromHelper.php - Returns a form to configure settings.
- CshsWidget::handlesMultipleValues in src/
Plugin/ Field/ FieldWidget/ CshsWidget.php - Returns whether the widget handles multiple values.
1 method overrides CshsOptionsFromHelper::getSetting()
- CshsTaxonomyIndex::getSetting in src/
Plugin/ views/ filter/ CshsTaxonomyIndex.php - Returns the value of a setting, or its default value if absent.
File
- src/
CshsOptionsFromHelper.php, line 76
Class
- CshsOptionsFromHelper
- Defines a class for getting options for a cshs form element from vocabulary.
Namespace
Drupal\cshsCode
public abstract function getSetting($key);