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