public function RoleSplitFilter::filterDeleteAll in Config Role Split 8
File
- src/
Plugin/ ConfigFilter/ RoleSplitFilter.php, line 115
Class
- RoleSplitFilter
- Provides a RoleSplitFilter.
Namespace
Drupal\config_role_split\Plugin\ConfigFilterCode
public function filterDeleteAll($prefix, $delete) {
if (in_array($this
->getPluginProperty('mode', 'split'), [
'fork',
'exclude',
])) {
// Do not delete all for fork and exclude filters.
return FALSE;
}
return parent::filterDeleteAll($prefix, $delete);
}