public function Authmap::deleteProvider in External Authentication 8
Same name and namespace in other branches
- 2.0.x src/Authmap.php \Drupal\externalauth\Authmap::deleteProvider()
Delete all authmap entries for a given provider.
Parameters
string $provider: The name of the service providing external authentication.
Overrides AuthmapInterface::deleteProvider
File
- src/
Authmap.php, line 139
Class
- Authmap
- Class Authmap.
Namespace
Drupal\externalauthCode
public function deleteProvider($provider) {
$this->connection
->delete('authmap')
->condition('provider', $provider)
->execute();
}