Same name in other branches
  1. 8.x-1.x src/EntityCloneSettingsManager.php \Drupal\entity_clone\EntityCloneSettingsManager::getTakeOwnershipSetting()

Get the take ownership settings.

File

src/EntityCloneSettingsManager.php, line 162

Class

EntityCloneSettingsManager
Manage entity clone configuration.

Namespace

Drupal\entity_clone

Code

public function getTakeOwnershipSetting() {
    return $this->config
        ->get('take_ownership') ?? FALSE;
}