Function Hook_config_url_scheme->presave_handler
Definitions
sources/hooks/systems/config/url_scheme.php
- Code to run before the option is saved.If there is some kind of problem with the new value then we could attach an error message.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$new_value | string | required parameter | N/A | N/A | The new value |
$old_value | string | required parameter | N/A | N/A | The old value |
Return
- Whether to allow the save
- Type: boolean
- Set: N/A
- Range: N/A