Issue #3214922 by murilohp, daffie: Add a requirements error in Drupal 10 when...
Issue #3214922 by murilohp, daffie: Add a requirements error in Drupal 10 when PostgreSQL is used and the pg_trgm extension is not installed or created
$this->pass(t('PostgreSQL has the pg_trgm extension enabled.'));
}
else{
$this->fail(t('The <a href=":pg_trgm">pg_trgm</a> PostgreSQL extension is not present. The extension is required by Drupal 10 to improve performance when using PostgreSQL. See <a href=":requirements">Drupal database server requirements</a> for more information.',[
'description'=>t('The <a href=":pg_trgm">pg_trgm</a> PostgreSQL extension is not present. The extension will be required by Drupal 10 to improve performance when using PostgreSQL. See <a href=":requirements">Drupal database server requirements</a> for more information.',[
'value'=>t('Available'),
'description'=>'The pg_trgm PostgreSQL extension is present.',
];
// If the extension is not available, set the requirement error.
$requirements['pgsql_extension_pg_trgm']['description']=t('The <a href=":pg_trgm">pg_trgm</a> PostgreSQL extension is not present. The extension is required by Drupal 10 to improve performance when using PostgreSQL. See <a href=":requirements">Drupal database server requirements</a> for more information.',[