Same name in other branches
- 8.x-1.x src/EntityCloneSettingsManager.php \Drupal\entity_clone\EntityCloneSettingsManager::setExcludeClonedSetting()
Set the take ownership setting.
Parameters
int $setting: The settings from the form.
File
-
src/
EntityCloneSettingsManager.php, line 172
Class
- EntityCloneSettingsManager
- Manage entity clone configuration.
Namespace
Drupal\entity_cloneCode
public function setExcludeClonedSetting(int $setting) {
$this->editableConfig
->set('no_suffix', $setting)
->save();
}