This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Plugin/AiProvider/GeminiProvider.php b/src/Plugin/AiProvider/GeminiProvider.php | |
index 8cb81cd..e5d8cd5 100644 | |
--- a/src/Plugin/AiProvider/GeminiProvider.php | |
+++ b/src/Plugin/AiProvider/GeminiProvider.php | |
@@ -35,7 +35,7 @@ class GeminiProvider extends AiProviderClientBase implements ChatInterface, Embe | |
* | |
* @var \Gemini\Client|null | |
*/ | |
- protected $client; | |
+ public $client; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Plugin/ProviderProxy.php b/src/Plugin/ProviderProxy.php | |
index 17e643a4778fb6841610cb5f1ff01a070f02e80e..24e41b6fade3c3b29c4f3c5bfea2efabda7dc7c0 100644 | |
--- a/src/Plugin/ProviderProxy.php | |
+++ b/src/Plugin/ProviderProxy.php | |
@@ -30,7 +30,7 @@ class ProviderProxy { | |
* | |
* @var object | |
*/ | |
- protected $plugin; | |
+ public $plugin; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "drupal/$projectname", | |
"description": "TODO.", | |
"type": "drupal-module", | |
"require": { | |
"ycloudyusa/y_lb": "^2.2.0", | |
"php": ">=8.1" | |
}, | |
"license": "GPL-2.0+", | |
"minimum-stability": "dev" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/includes/common.inc b/core/includes/common.inc | |
index 42d9b80d28..f640a90121 100644 | |
--- a/core/includes/common.inc | |
+++ b/core/includes/common.inc | |
@@ -12,6 +12,7 @@ | |
use Drupal\Component\Utility\Html; | |
use Drupal\Component\Utility\SortArray; | |
use Drupal\Core\Cache\Cache; | |
+use Drupal\Core\DrupalKernel; | |
use Drupal\Core\StringTranslation\TranslatableMarkup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/includes/common.inc b/core/includes/common.inc | |
index f640a90121..a1397dd9c3 100644 | |
--- a/core/includes/common.inc | |
+++ b/core/includes/common.inc | |
@@ -553,15 +553,15 @@ function drupal_flush_all_caches($kernel = NULL) { | |
// to reset the theme manager. | |
\Drupal::theme()->resetActiveTheme(); | |
+ // Rebuild module data that is stored in state. | |
+ \Drupal::service('extension.list.module')->reset(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/includes/common.inc b/core/includes/common.inc | |
index f640a90121..42d9b80d28 100644 | |
--- a/core/includes/common.inc | |
+++ b/core/includes/common.inc | |
@@ -12,7 +12,6 @@ | |
use Drupal\Component\Utility\Html; | |
use Drupal\Component\Utility\SortArray; | |
use Drupal\Core\Cache\Cache; | |
-use Drupal\Core\DrupalKernel; | |
use Drupal\Core\StringTranslation\TranslatableMarkup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/modules/language/language.module b/core/modules/language/language.module | |
index 91641dec..cac5f59a 100644 | |
--- a/core/modules/language/language.module | |
+++ b/core/modules/language/language.module | |
@@ -294,11 +294,13 @@ function language_modules_installed($modules) { | |
// Since newly (un)installed modules may change the default settings for | |
// non-locked language types (e.g. content language), we need to resave the | |
// language type configuration. | |
- /** @var \Drupal\language\LanguageNegotiatorInterface $negotiator */ | |
- $negotiator = \Drupal::service('language_negotiator'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/features.module b/features.module | |
index 07e2740..7d061b2 100644 | |
--- a/features.module | |
+++ b/features.module | |
@@ -48,10 +48,12 @@ function features_file_download($uri) { | |
/** | |
* Implements hook_modules_installed(). | |
*/ | |
-function features_modules_installed($modules) { | |
- if (!in_array('features', $modules)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/entity_embed.module b/entity_embed.module | |
index a531922..e913005 100644 | |
--- a/entity_embed.module | |
+++ b/entity_embed.module | |
@@ -10,6 +10,10 @@ use Drupal\Core\Form\FormStateInterface; | |
use Drupal\Core\Field\FieldItemListInterface; | |
use Drupal\Core\Entity\ContentEntityInterface; | |
+use Drupal\Component\Utility\UrlHelper; | |
+ |
NewerOlder