public function PatternSettingTypeInterface::settingsForm in UI Patterns Settings 8.2
Same name and namespace in other branches
- 8 src/Plugin/PatternSettingTypeInterface.php \Drupal\ui_patterns_settings\Plugin\PatternSettingTypeInterface::settingsForm()
Returns the configuration form elements specific to this settings plugin..
Parameters
array $form: The form definition array for the settings configuration form.
string $value: The stored default value.
\Drupal\ui_patterns_settings\Definition\PatternDefinitionSetting $def: The pattern definition.
string $form_type: The form type. Either layout or layouts_display or display.
Return value
array The configuration form.
1 call to PatternSettingTypeInterface::settingsForm()
- PatternSettingTypeBase::buildConfigurationForm in src/
Plugin/ PatternSettingTypeBase.php - Creates a generic configuration form for all settings types. Individual settings plugins can add elements to this form by overriding PatternSettingTypeBaseInterface::settingsForm(). Most plugins should not override this method unless they need to…
9 methods override PatternSettingTypeInterface::settingsForm()
- AttributesSettingType::settingsForm in src/
Plugin/ UiPatterns/ SettingType/ AttributesSettingType.php - Returns the configuration form elements specific to this settings plugin..
- BooleanSettingType::settingsForm in src/
Plugin/ UiPatterns/ SettingType/ BooleanSettingType.php - Returns the configuration form elements specific to this settings plugin..
- CheckboxesSettingType::settingsForm in src/
Plugin/ UiPatterns/ SettingType/ CheckboxesSettingType.php - Returns the configuration form elements specific to this settings plugin..
- EnumerationSettingTypeBase::settingsForm in src/
Plugin/ EnumerationSettingTypeBase.php - Returns the configuration form elements specific to this settings plugin..
- GroupType::settingsForm in src/
Plugin/ UiPatterns/ SettingType/ GroupType.php - Returns the configuration form elements specific to this settings plugin..
File
- src/
Plugin/ PatternSettingTypeInterface.php, line 30
Class
- PatternSettingTypeInterface
- Defines an interface for UI Patterns setting type plugins.
Namespace
Drupal\ui_patterns_settings\PluginCode
public function settingsForm(array $form, $value, PatternDefinitionSetting $def, $form_type);