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