function hook_farm_update_exclude_config in farmOS 2.x
Specify config items that should be excluded from automatic updates.
Return value
array An array of config item names.
3 functions implement hook_farm_update_exclude_config()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- farm_ui_theme_farm_update_exclude_config in modules/
core/ ui/ theme/ farm_ui_theme.module - Implements hook_farm_update_exclude_config().
- farm_update_farm_update_exclude_config in modules/
core/ update/ farm_update.module - Implements hook_farm_update_exclude_config().
- farm_update_test_farm_update_exclude_config in modules/
core/ update/ tests/ modules/ farm_update_test/ farm_update_test.module - Implements hook_farm_update_exclude_config().
1 invocation of hook_farm_update_exclude_config()
- FarmUpdate::getExcludedItems in modules/
core/ update/ src/ FarmUpdate.php - Lists excluded config items.
File
- modules/
core/ update/ farm_update.api.php, line 23 - Hooks provided by farm_update.
Code
function hook_farm_update_exclude_config() {
return [
'views.view.farm_log.yml',
'asset.type.structure.yml',
];
}