Same name and namespace in other branches
  1. 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_clone

Code

public function setExcludeClonedSetting(int $setting) {
    $this->editableConfig
        ->set('no_suffix', $setting)
        ->save();
}