Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
3 files
+ 47
0
Compare changes
  • Side-by-side
  • Inline
Files
3
  • 84e8b971
    Issue #3214921 by daffie, xurizaemon, alexpott, mondrake, andypost, Taran2L,... · 84e8b971
    catch authored
    Issue #3214921 by daffie, xurizaemon, alexpott, mondrake, andypost, Taran2L, Mixologic, longwave: Add a requirements warning in Drupal 9 when PostgreSQL is used and the pg_trgm extension is not created
@@ -1060,6 +1060,23 @@ protected function hashBase64($data) {
return strtr($hash, ['+' => '_', '/' => '_', '=' => '']);
}
/**
* Determines whether the PostgreSQL extension is created.
*
* @param string $name
* The name of the extension.
*
* @return bool
* Return TRUE when the extension is created, FALSE otherwise.
*
* @internal
*/
public function extensionExists($name): bool {
return (bool) $this->connection->query('SELECT installed_version FROM pg_available_extensions WHERE name = :name', [
':name' => $name,
])->fetchField();
}
}
/**
Loading