@@ -51,8 +52,7 @@ public function getPathname(string $type, string $name): ?string {
return'core/core.info.yml';
}
if(!isset($this->extensionLists[$type])){
@trigger_error('Calling getPathname() with an invalid $type parameter is deprecated in drupal:9.3.0 and will throw an \Drupal\Core\Extension\Exception\UnknownExtensionTypeException in drupal:10.0.0. See https://www.drupal.org/node/2940438',E_USER_DEPRECATED);
returnNULL;
thrownewUnknownExtensionTypeException(sprintf('Extension type %s is unknown.',$type));
@trigger_error('The database connection must be passed to '.__METHOD__.'(). Creating '.__CLASS__.' without it is deprecated in drupal:9.2.0 and will be required in drupal:10.0.0. See https://www.drupal.org/node/2970993',E_USER_DEPRECATED);
$connection=\Drupal::service('database');
}
$this->connection=$connection;
if(!$update_registry){
@trigger_error('Calling '.__METHOD__.'() without the $update_registry argument is deprecated in drupal:9.3.0 and $update_registry argument will be required in drupal:10.0.0. See https://www.drupal.org/node/2124069',E_USER_DEPRECATED);
@@ -111,10 +111,6 @@ public function __construct(ThemeHandlerInterface $theme_handler, ConfigFactoryI
$this->routeBuilder=$route_builder;
$this->logger=$logger;
$this->state=$state;
if($module_extension_list===NULL){
@trigger_error('The extension.list.module service must be passed to '.__NAMESPACE__.'\ThemeInstaller::__construct(). It was added in drupal:8.9.0 and will be required before drupal:10.0.0.',E_USER_DEPRECATED);
$this->expectDeprecation('Calling getPathname() with an invalid $type parameter is deprecated in drupal:9.3.0 and will throw an \Drupal\Core\Extension\Exception\UnknownExtensionTypeException in drupal:10.0.0. See https://www.drupal.org/node/2940438');