public function ProviderManager::deleteProviderConfiguration in Persistent URL 8
1 call to ProviderManager::deleteProviderConfiguration()
File
- src/
Plugin/ ProviderManager.php, line 81
Class
Namespace
Drupal\purl\PluginCode
public function deleteProviderConfiguration($providerId) {
$this->connection
->delete('purl_providers_settings')
->condition('provider', $providerId)
->execute();
$definitions = $this
->findDefinitions();
$definitions[$providerId] = array_merge($definitions[$providerId], array(
'method' => null,
'settings' => array(),
));
$this
->setCachedDefinitions($definitions);
}