public function PatternSettingTypeInterface::settingsPreprocess in UI Patterns Settings 8
Same name and namespace in other branches
- 8.2 src/Plugin/PatternSettingTypeInterface.php \Drupal\ui_patterns_settings\Plugin\PatternSettingTypeInterface::settingsPreprocess()
Preprocess setting variable.
Parameters
string $value: The stored value.
array $context: Context informations. Keys:
- entity.
\Drupal\ui_patterns_settings\Definition\PatternDefinitionSetting $def: The pattern definition.
Return value
string The processed value.
1 method overrides PatternSettingTypeInterface::settingsPreprocess()
- PatternSettingTypeBase::settingsPreprocess in src/
Plugin/ PatternSettingTypeBase.php - Preprocess setting variable.
File
- src/
Plugin/ PatternSettingTypeInterface.php, line 43
Class
- PatternSettingTypeInterface
- Defines an interface for UI Patterns setting type plugins.
Namespace
Drupal\ui_patterns_settings\PluginCode
public function settingsPreprocess($value, array $context, PatternDefinitionSetting $def);