From c38d01ee2b99af457db0d2dc86518c75322a49f3 Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 23 Sep 2026 14:16:41 +0200 Subject: [PATCH] massive custom modules and themes D11 compatibility --- .../editors_menus/editors_menus.info.yml | 2 +- .../images_styles_gen.info.yml | 2 +- .../src/CreateImagesStyles.php | 2 +- .../materio_commerce.info.yml | 2 +- .../materio_decoupled.info.yml | 2 +- .../src/Controller/AjaxHeaderMenuBlock.php | 21 ++++++++++ .../custom/materio_expo/materio_expo.info.yml | 2 +- .../custom/materio_flag/materio_flag.info.yml | 2 +- .../materio_graphql/materio_graphql.info.yml | 2 +- .../MaterioSchemaExtension.php | 1 - .../custom/materio_home/materio_home.info.yml | 2 +- .../custom/materio_home/materio_home.module | 3 +- .../src/Controller/AjaxHomeController.php | 2 +- .../FieldType/ComputedShowroomsReferences.php | 3 +- .../custom/materio_id/materio_id.info.yml | 2 +- .../materio_jsonapi/materio_jsonapi.info.yml | 2 +- .../materio_jsonapi/materio_jsonapi.module | 2 +- .../materio_mailjet/materio_mailjet.info.yml | 2 +- .../materio_samples/materio_samples.info.yml | 2 +- .../FieldWidget/SamplesDefaultWidget.php | 3 +- .../custom/materio_sapi/materio_sapi.info.yml | 2 +- .../src/Controller/AjaxSearchForm.php | 7 ++++ .../materio_sapi/src/Controller/Base.php | 40 +++++++++++++++++++ .../materio_sapi/src/CountryNameComputed.php | 3 -- .../src/Form/MaterioSapiSearchForm.php | 6 +-- .../materio_simplenews.info.yml | 2 +- .../custom/materio_user/materio_user.info.yml | 2 +- .../src/Controller/AjaxLoginBlock.php | 21 ++++++++++ .../src/Controller/AjaxLoginForm.php | 7 ++++ .../src/Controller/AjaxRegisterForm.php | 7 ++++ .../vue_link_formatter.info.yml | 2 +- web/profiles/d8-starterkit-profile | 2 +- .../custom/materiotheme/materiotheme.info.yml | 2 +- .../custom/matminimal/matminimal.info.yml | 2 +- 34 files changed, 132 insertions(+), 34 deletions(-) diff --git a/web/modules/custom/editors_menus/editors_menus.info.yml b/web/modules/custom/editors_menus/editors_menus.info.yml index 05669596..08925f45 100644 --- a/web/modules/custom/editors_menus/editors_menus.info.yml +++ b/web/modules/custom/editors_menus/editors_menus.info.yml @@ -1,5 +1,5 @@ name: 'Editors Menus' type: module description: 'create editors admin menus through module as they will be exportable as config' -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: 'Custom' diff --git a/web/modules/custom/images_styles_gen/images_styles_gen.info.yml b/web/modules/custom/images_styles_gen/images_styles_gen.info.yml index 8d6b0a45..e032e414 100644 --- a/web/modules/custom/images_styles_gen/images_styles_gen.info.yml +++ b/web/modules/custom/images_styles_gen/images_styles_gen.info.yml @@ -1,7 +1,7 @@ name: 'images_styles_cron_gen' type: module description: 'helpers for progressive decoupling' -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: 'custom' # https://www.flocondetoile.fr/blog/generate-programmatically-image-styles-drupal-8 # https://www.flocondetoile.fr/blog/using-drupal-8-cron-api-generate-image-styles diff --git a/web/modules/custom/images_styles_gen/src/CreateImagesStyles.php b/web/modules/custom/images_styles_gen/src/CreateImagesStyles.php index 21d24838..b140ed0a 100644 --- a/web/modules/custom/images_styles_gen/src/CreateImagesStyles.php +++ b/web/modules/custom/images_styles_gen/src/CreateImagesStyles.php @@ -34,6 +34,6 @@ class CreateImagesStyles { else { $message = t('Finished with an error.'); } - drupal_set_message($message); + \Drupal::messenger()->addStatus($message); } } diff --git a/web/modules/custom/materio_commerce/materio_commerce.info.yml b/web/modules/custom/materio_commerce/materio_commerce.info.yml index e680efbf..f83e2f5e 100644 --- a/web/modules/custom/materio_commerce/materio_commerce.info.yml +++ b/web/modules/custom/materio_commerce/materio_commerce.info.yml @@ -3,7 +3,7 @@ description: Materio commerce custom module package: Materio type: module -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 dependencies: - drupal:commerce \ No newline at end of file diff --git a/web/modules/custom/materio_decoupled/materio_decoupled.info.yml b/web/modules/custom/materio_decoupled/materio_decoupled.info.yml index 3f2093f1..31e75e4d 100644 --- a/web/modules/custom/materio_decoupled/materio_decoupled.info.yml +++ b/web/modules/custom/materio_decoupled/materio_decoupled.info.yml @@ -1,5 +1,5 @@ name: 'materio_decoupled' type: module description: 'helpers for progressive decoupling' -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: 'Materio' diff --git a/web/modules/custom/materio_decoupled/src/Controller/AjaxHeaderMenuBlock.php b/web/modules/custom/materio_decoupled/src/Controller/AjaxHeaderMenuBlock.php index 9668e10e..bb8aceb1 100644 --- a/web/modules/custom/materio_decoupled/src/Controller/AjaxHeaderMenuBlock.php +++ b/web/modules/custom/materio_decoupled/src/Controller/AjaxHeaderMenuBlock.php @@ -16,6 +16,27 @@ use Symfony\Component\HttpFoundation\JsonResponse; */ class AjaxHeaderMenuBlock extends ControllerBase { + /** + * The block ID. + * + * @var string + */ + protected $bid; + + /** + * The block entity. + * + * @var \Drupal\block\Entity\Block|null + */ + protected $block; + + /** + * The rendered block build array. + * + * @var array + */ + protected $block_builded; + private function getBlockDefinition(){ // $language = \Drupal::languageManager()->getCurrentLanguage()->getId(); // \Drupal::logger('materio_user')->notice($language); diff --git a/web/modules/custom/materio_expo/materio_expo.info.yml b/web/modules/custom/materio_expo/materio_expo.info.yml index 9d73a26d..561cb467 100644 --- a/web/modules/custom/materio_expo/materio_expo.info.yml +++ b/web/modules/custom/materio_expo/materio_expo.info.yml @@ -1,5 +1,5 @@ name: 'materio_expo' type: module description: 'My Awesome Module' -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: 'Materio' diff --git a/web/modules/custom/materio_flag/materio_flag.info.yml b/web/modules/custom/materio_flag/materio_flag.info.yml index 2300b116..063c2d39 100644 --- a/web/modules/custom/materio_flag/materio_flag.info.yml +++ b/web/modules/custom/materio_flag/materio_flag.info.yml @@ -1,7 +1,7 @@ name: Materio FLAG type: module description: Defines api behaviours for flaglist. -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: Materio dependencies: - drupal:flag_lists diff --git a/web/modules/custom/materio_graphql/materio_graphql.info.yml b/web/modules/custom/materio_graphql/materio_graphql.info.yml index e7f94914..c3f9b644 100644 --- a/web/modules/custom/materio_graphql/materio_graphql.info.yml +++ b/web/modules/custom/materio_graphql/materio_graphql.info.yml @@ -2,7 +2,7 @@ name: Materio GraphQL type: module description: 'Materio GraphQL schema.' package: Materio -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 dependencies: - graphql:graphql - node:node diff --git a/web/modules/custom/materio_graphql/src/Plugin/GraphQL/SchemaExtension/MaterioSchemaExtension.php b/web/modules/custom/materio_graphql/src/Plugin/GraphQL/SchemaExtension/MaterioSchemaExtension.php index e3deacdc..ee708a4a 100644 --- a/web/modules/custom/materio_graphql/src/Plugin/GraphQL/SchemaExtension/MaterioSchemaExtension.php +++ b/web/modules/custom/materio_graphql/src/Plugin/GraphQL/SchemaExtension/MaterioSchemaExtension.php @@ -6,7 +6,6 @@ use Drupal\graphql\GraphQL\ResolverBuilder; use Drupal\graphql\GraphQL\ResolverRegistryInterface; use Drupal\graphql\GraphQL\Response\ResponseInterface; use Drupal\graphql\Plugin\GraphQL\SchemaExtension\SdlSchemaExtensionPluginBase; -use Drupal\materio_graphql\GraphQL\Response\MaterioResponse; use Drupal\Core\Url; // use CommerceGuys\Addressing\Country\CountryRepository; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/web/modules/custom/materio_home/materio_home.info.yml b/web/modules/custom/materio_home/materio_home.info.yml index b6e6e559..206eb368 100644 --- a/web/modules/custom/materio_home/materio_home.info.yml +++ b/web/modules/custom/materio_home/materio_home.info.yml @@ -1,6 +1,6 @@ name: Materio Home type: module description: Defines home contents for materiO. -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: Materio dependencies: diff --git a/web/modules/custom/materio_home/materio_home.module b/web/modules/custom/materio_home/materio_home.module index 32c1cbcc..4036f245 100644 --- a/web/modules/custom/materio_home/materio_home.module +++ b/web/modules/custom/materio_home/materio_home.module @@ -123,6 +123,7 @@ function materio_home_entity_bundle_field_info(EntityTypeInterface $entity_type, return $fields; } + return []; } /** * Implement hook_entity_base_field_info_alter(). @@ -196,7 +197,7 @@ function materio_home_cron(){ ->accessCheck(FALSE) ->condition('type', 'frontpage'); $nids = $query->execute(); - $nodes = entity_load_multiple('node', $nids); + $nodes = \Drupal::entityTypeManager()->getStorage('node')->loadMultiple($nids); foreach ($nodes as $nid => $node) { $logger->notice('cron | regenerating computed fields for '.$nid); $node->save(); diff --git a/web/modules/custom/materio_home/src/Controller/AjaxHomeController.php b/web/modules/custom/materio_home/src/Controller/AjaxHomeController.php index 957599de..caa325b9 100644 --- a/web/modules/custom/materio_home/src/Controller/AjaxHomeController.php +++ b/web/modules/custom/materio_home/src/Controller/AjaxHomeController.php @@ -11,7 +11,7 @@ use Symfony\Component\HttpFoundation\JsonResponse; use Drupal\Core\Cache\CacheableJsonResponse; use Drupal\Core\Cache\CacheableMetadata; use Drupal\Core\Url; -use Drupal\core\render\RenderContext; +use Drupal\Core\Render\RenderContext; /** * Class AjaxHomeController. diff --git a/web/modules/custom/materio_home/src/Plugin/Field/FieldType/ComputedShowroomsReferences.php b/web/modules/custom/materio_home/src/Plugin/Field/FieldType/ComputedShowroomsReferences.php index 9e42dfdb..0de1cfec 100644 --- a/web/modules/custom/materio_home/src/Plugin/Field/FieldType/ComputedShowroomsReferences.php +++ b/web/modules/custom/materio_home/src/Plugin/Field/FieldType/ComputedShowroomsReferences.php @@ -8,7 +8,6 @@ use Drupal\Core\Field\FieldItemList; use Drupal\Core\TypedData\TypedDataInterface; use Drupal\Core\Field\BaseFieldDefinition; use Drupal\Core\TypedData\ComputedItemListTrait; -use Drupal\workflow\Entity\WorkflowManager; // https://www.drupal.org/node/2112677 @@ -49,7 +48,7 @@ class ComputedShowroomsReferences extends EntityReferenceFieldItemList $i=0; foreach ($tids as $tid) { $term = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->load($tid); - $sid = WorkflowManager::getCurrentStateId($term, 'field_workflow'); + $sid = workflow_node_current_state($term, 'field_workflow'); if($sid != 'workflow_visible') continue; $this->list[$i] = $this->createItem($i, $tid); $i++; diff --git a/web/modules/custom/materio_id/materio_id.info.yml b/web/modules/custom/materio_id/materio_id.info.yml index 69d473da..88279ce0 100644 --- a/web/modules/custom/materio_id/materio_id.info.yml +++ b/web/modules/custom/materio_id/materio_id.info.yml @@ -1,7 +1,7 @@ name: Materio Id type: module description: "Compute automaticly materials references : -, eg. W-0459." -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: Materio dependencies: - computed_field diff --git a/web/modules/custom/materio_jsonapi/materio_jsonapi.info.yml b/web/modules/custom/materio_jsonapi/materio_jsonapi.info.yml index 5e74b39a..74c30d21 100644 --- a/web/modules/custom/materio_jsonapi/materio_jsonapi.info.yml +++ b/web/modules/custom/materio_jsonapi/materio_jsonapi.info.yml @@ -1,7 +1,7 @@ name: Materio JsonAPI type: module description: Defines custom behaviours to jsonapi. -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: Materio dependencies: - drupal:jsonapi diff --git a/web/modules/custom/materio_jsonapi/materio_jsonapi.module b/web/modules/custom/materio_jsonapi/materio_jsonapi.module index 639c09ed..8ed4e98d 100644 --- a/web/modules/custom/materio_jsonapi/materio_jsonapi.module +++ b/web/modules/custom/materio_jsonapi/materio_jsonapi.module @@ -9,7 +9,7 @@ use Drupal\Core\Field\FieldItemListInterface; /** * Implements hook_entity_field_access(). */ -function materio_jsonapi_entity_field_access($operation, FieldDefinitionInterface $field_definition, AccountInterface $account, FieldItemListInterface $items = NULL) { +function materio_jsonapi_entity_field_access($operation, FieldDefinitionInterface $field_definition, AccountInterface $account, ?FieldItemListInterface $items = NULL) { if ($field_definition->getName() == 'roles' && $operation == 'view') { $user = $items->getEntity(); if($account->id() == $user->id() && !$user->hasPermission('materio_jsonapi roles')){ diff --git a/web/modules/custom/materio_mailjet/materio_mailjet.info.yml b/web/modules/custom/materio_mailjet/materio_mailjet.info.yml index f7acec21..1ea6fab7 100644 --- a/web/modules/custom/materio_mailjet/materio_mailjet.info.yml +++ b/web/modules/custom/materio_mailjet/materio_mailjet.info.yml @@ -2,7 +2,7 @@ name: Materio Mailjet description: Add support for MailJet Webhooks. package: Materio type: module -core_version_requirement: ^8.8 || ^9 || ^10.2 +core_version_requirement: ^8.8 || ^9 || ^10.2 || ^11 dependencies: - mailjet:mailjet diff --git a/web/modules/custom/materio_samples/materio_samples.info.yml b/web/modules/custom/materio_samples/materio_samples.info.yml index f351fabf..2a330c2e 100644 --- a/web/modules/custom/materio_samples/materio_samples.info.yml +++ b/web/modules/custom/materio_samples/materio_samples.info.yml @@ -1,7 +1,7 @@ name: Materio Samples type: module description: "Provide a sample field, each showroom (taxonomy term) can fill it's own sample reference, and only it's own" -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: Materio dependencies: - taxonomy diff --git a/web/modules/custom/materio_samples/src/Plugin/Field/FieldWidget/SamplesDefaultWidget.php b/web/modules/custom/materio_samples/src/Plugin/Field/FieldWidget/SamplesDefaultWidget.php index be1bed65..6ee5a55b 100644 --- a/web/modules/custom/materio_samples/src/Plugin/Field/FieldWidget/SamplesDefaultWidget.php +++ b/web/modules/custom/materio_samples/src/Plugin/Field/FieldWidget/SamplesDefaultWidget.php @@ -6,7 +6,6 @@ use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Field\WidgetBase; use Drupal\Core\Form\FormStateInterface; use Drupal\user\Entity\User; -use Drupal\workflow\Entity\WorkflowManager; /** * Plugin implementation of the 'materio_samples_default_widget' widget. @@ -85,7 +84,7 @@ class SamplesDefaultWidget extends WidgetBase { $delta = 0; foreach ($this->getShowroomTerms() as $term) { $tid = $term->id(); - $is_hidden = WorkflowManager::getCurrentStateId($term, 'field_workflow') === 'workflow_hidden'; + $is_hidden = workflow_node_current_state($term, 'field_workflow') === 'workflow_hidden'; $location = $locations[$tid] ?? ''; // Preserve values of workflow-hidden showrooms so a save never drops diff --git a/web/modules/custom/materio_sapi/materio_sapi.info.yml b/web/modules/custom/materio_sapi/materio_sapi.info.yml index eb7557ab..ff203d0a 100644 --- a/web/modules/custom/materio_sapi/materio_sapi.info.yml +++ b/web/modules/custom/materio_sapi/materio_sapi.info.yml @@ -1,7 +1,7 @@ name: Materio Serach API type: module description: 'Search Api Materio module' -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: 'Materio' dependencies: - search_api diff --git a/web/modules/custom/materio_sapi/src/Controller/AjaxSearchForm.php b/web/modules/custom/materio_sapi/src/Controller/AjaxSearchForm.php index 7a5e5d03..e5bee9f0 100644 --- a/web/modules/custom/materio_sapi/src/Controller/AjaxSearchForm.php +++ b/web/modules/custom/materio_sapi/src/Controller/AjaxSearchForm.php @@ -20,6 +20,13 @@ use Drupal\core\render\RenderContext; */ class AjaxSearchForm extends ControllerBase { + /** + * The built form array. + * + * @var array + */ + protected $form_builded; + /** * The form builder. * diff --git a/web/modules/custom/materio_sapi/src/Controller/Base.php b/web/modules/custom/materio_sapi/src/Controller/Base.php index fb6d8c40..a5df220c 100644 --- a/web/modules/custom/materio_sapi/src/Controller/Base.php +++ b/web/modules/custom/materio_sapi/src/Controller/Base.php @@ -17,7 +17,47 @@ use Drupal\search_api\Entity\Index; */ class Base extends ControllerBase { + /** + * The search index. + * + * @var \Drupal\search_api\IndexInterface|null + */ + protected $index; + /** + * The request parameters. + * + * @var array + */ + protected $allparams; + + /** + * The search keys. + * + * @var string + */ + protected $keys; + + /** + * The search results. + * + * @var array + */ + protected $results; + + /** + * The search queries and counters. + * + * @var mixed + */ + protected $phrase_query, $and_query, $or_query, $query, $count_query, $count, $exactematch_count; + + /** + * Filter and term values. + * + * @var mixed + */ + protected $filters, $terms, $items; private $limit = 15; private $offset = 0; diff --git a/web/modules/custom/materio_sapi/src/CountryNameComputed.php b/web/modules/custom/materio_sapi/src/CountryNameComputed.php index 4b06c9e2..d79bab97 100644 --- a/web/modules/custom/materio_sapi/src/CountryNameComputed.php +++ b/web/modules/custom/materio_sapi/src/CountryNameComputed.php @@ -19,9 +19,6 @@ class CountryNameComputed extends FieldItemList { $country_name = $full_country_list[$country_code]; $lang = \Drupal::languageManager()->getCurrentLanguage()->getId(); $translated_markup = $country_name->render(); - if($parent->id() == 5719){ - $t="t"; - } $this->list[0] = $this->createItem(0, $translated_markup); } } diff --git a/web/modules/custom/materio_sapi/src/Form/MaterioSapiSearchForm.php b/web/modules/custom/materio_sapi/src/Form/MaterioSapiSearchForm.php index 66a65c65..d75ce370 100644 --- a/web/modules/custom/materio_sapi/src/Form/MaterioSapiSearchForm.php +++ b/web/modules/custom/materio_sapi/src/Form/MaterioSapiSearchForm.php @@ -82,8 +82,8 @@ class MaterioSapiSearchForm extends FormBase { // '#type' => "label", // // ] - $query = \Drupal::entityQuery('taxonomy_term'); - $query->condition('vid', "assisted_research") + $query = \Drupal::entityQuery('taxonomy_term') + ->condition('vid', "assisted_research") ->accessCheck(TRUE) ->sort('field_weight', 'ASC'); $tids = $query->execute(); @@ -143,7 +143,7 @@ class MaterioSapiSearchForm extends FormBase { public function submitForm(array &$form, FormStateInterface $form_state) { // Display result. foreach ($form_state->getValues() as $key => $value) { - drupal_set_message($key . ': ' . $value); + \Drupal::messenger()->addStatus($key . ': ' . $value); } } diff --git a/web/modules/custom/materio_simplenews/materio_simplenews.info.yml b/web/modules/custom/materio_simplenews/materio_simplenews.info.yml index bc3be434..e61eff23 100644 --- a/web/modules/custom/materio_simplenews/materio_simplenews.info.yml +++ b/web/modules/custom/materio_simplenews/materio_simplenews.info.yml @@ -1,7 +1,7 @@ name: Materio Simple News type: module description: 'Simple News extensions Materio module' -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: 'Materio' dependencies: - simplenews diff --git a/web/modules/custom/materio_user/materio_user.info.yml b/web/modules/custom/materio_user/materio_user.info.yml index c64289ea..b059f7cb 100644 --- a/web/modules/custom/materio_user/materio_user.info.yml +++ b/web/modules/custom/materio_user/materio_user.info.yml @@ -1,5 +1,5 @@ name: 'materio_user' type: module description: '' -core_version_requirement: ^8.8 || ^9.2 || ^10.2 +core_version_requirement: ^8.8 || ^9.2 || ^10.2 || ^11 package: 'Materio' diff --git a/web/modules/custom/materio_user/src/Controller/AjaxLoginBlock.php b/web/modules/custom/materio_user/src/Controller/AjaxLoginBlock.php index d82e9352..2315719a 100644 --- a/web/modules/custom/materio_user/src/Controller/AjaxLoginBlock.php +++ b/web/modules/custom/materio_user/src/Controller/AjaxLoginBlock.php @@ -16,6 +16,27 @@ use Symfony\Component\HttpFoundation\JsonResponse; */ class AjaxLoginBlock extends ControllerBase { + /** + * The block ID. + * + * @var string + */ + protected $bid; + + /** + * The block entity. + * + * @var \Drupal\block\Entity\Block|null + */ + protected $block; + + /** + * The rendered block build array. + * + * @var array + */ + protected $block_builded; + private function getBlockDefinition(){ // $language = \Drupal::languageManager()->getCurrentLanguage()->getId(); // \Drupal::logger('materio_user')->notice($language); diff --git a/web/modules/custom/materio_user/src/Controller/AjaxLoginForm.php b/web/modules/custom/materio_user/src/Controller/AjaxLoginForm.php index 131757a0..8cc00321 100644 --- a/web/modules/custom/materio_user/src/Controller/AjaxLoginForm.php +++ b/web/modules/custom/materio_user/src/Controller/AjaxLoginForm.php @@ -20,6 +20,13 @@ use Drupal\core\render\RenderContext; */ class AjaxLoginForm extends ControllerBase { + /** + * The built form array. + * + * @var array + */ + protected $form_builded; + /** * The form builder. * diff --git a/web/modules/custom/materio_user/src/Controller/AjaxRegisterForm.php b/web/modules/custom/materio_user/src/Controller/AjaxRegisterForm.php index d080222f..dcbbc2da 100644 --- a/web/modules/custom/materio_user/src/Controller/AjaxRegisterForm.php +++ b/web/modules/custom/materio_user/src/Controller/AjaxRegisterForm.php @@ -20,6 +20,13 @@ use Drupal\core\render\RenderContext; */ class AjaxRegisterForm extends ControllerBase { + /** + * The built form array. + * + * @var array + */ + protected $form_builded; + /** * The form builder. * diff --git a/web/modules/custom/vue_link_formatter/vue_link_formatter.info.yml b/web/modules/custom/vue_link_formatter/vue_link_formatter.info.yml index 2d97cca2..429d04b7 100644 --- a/web/modules/custom/vue_link_formatter/vue_link_formatter.info.yml +++ b/web/modules/custom/vue_link_formatter/vue_link_formatter.info.yml @@ -1,7 +1,7 @@ name: Vue Link Formatter type: module description: 'Provides a simple vue link field formatter with vue attributes as @click.' -core_version_requirement: ^8 || ^9 || ^10.2 +core_version_requirement: ^8 || ^9 || ^10.2 || ^11 package: Fields # version: VERSION dependencies: diff --git a/web/profiles/d8-starterkit-profile b/web/profiles/d8-starterkit-profile index fe86f09b..a0531754 160000 --- a/web/profiles/d8-starterkit-profile +++ b/web/profiles/d8-starterkit-profile @@ -1 +1 @@ -Subproject commit fe86f09bed6968b0e1a437c35b197afe986a9b67 +Subproject commit a0531754cbd00503b424e2ad4c88a4952443456e diff --git a/web/themes/custom/materiotheme/materiotheme.info.yml b/web/themes/custom/materiotheme/materiotheme.info.yml index fd361ddf..cdbabc82 100644 --- a/web/themes/custom/materiotheme/materiotheme.info.yml +++ b/web/themes/custom/materiotheme/materiotheme.info.yml @@ -2,7 +2,7 @@ name: Materio description: 'Materio Drupal 8 theme with gulp' type: theme base theme: classy -core_version_requirement: ^8.8 || ^9.2 || ^10 +core_version_requirement: ^8.8 || ^9.2 || ^10 || ^11 libraries: - core/normalize - materiotheme/global-css diff --git a/web/themes/custom/matminimal/matminimal.info.yml b/web/themes/custom/matminimal/matminimal.info.yml index 3a6843a8..cbb7433b 100644 --- a/web/themes/custom/matminimal/matminimal.info.yml +++ b/web/themes/custom/matminimal/matminimal.info.yml @@ -1,7 +1,7 @@ name: Matminimal type: theme description: 'Adminimal based drupal administration theme with material design.' -core_version_requirement: ^8.8 || ^9.2 || ^10 +core_version_requirement: ^8.8 || ^9.2 || ^10 || ^11 base theme: adminimal_theme libraries: