protected function ConfigBit::targetConfigExpectedNotToHaveIndex in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 9.0.x
Same name and namespace in other branches
- 8.8 src/Config/ConfigBit.php \Drupal\varbase\Config\ConfigBit::targetConfigExpectedNotToHaveIndex()
Check target config expected not to have index.
Parameters
array $config_action: The config action.
array $target_config_data: The target config data.
1 call to ConfigBit::targetConfigExpectedNotToHaveIndex()
- ConfigBit::expectedTargetConfig in src/
Config/ ConfigBit.php - Check expected target config.
File
- src/
Config/ ConfigBit.php, line 570
Class
- ConfigBit
- Class ConfigBit.
Namespace
Drupal\varbase\ConfigCode
protected function targetConfigExpectedNotToHaveIndex(array $config_action, array $target_config_data) {
if (isset($config_action['target_config_expected_not_to_have_index'])) {
if (!isset($target_config_data[$config_action['target_config_expected_not_to_have_index']])) {
return TRUE;
}
else {
return FALSE;
}
}
return TRUE;
}