Irkutsk
Account created on 29 March 2016, over 8 years ago
#

Merge Requests

Recent comments

🇷🇺Russia batkor Irkutsk

Hi
Your need add condition by condition group and add tag

$group = $query->createConditionGroup('OR', ['facet:field_type']);
$group->addCondition('type', 'New');
$query->addConditionGroup($group);
🇷🇺Russia batkor Irkutsk

Patch #3 worked for me.
Drupal version : 10.1.6
drupal/metatag: 1.26.0

🇷🇺Russia batkor Irkutsk

Add option on widget settings. This option allow collapse settings elements

🇷🇺Russia batkor Irkutsk

Or need create option in widget settings

🇷🇺Russia batkor Irkutsk

Push change. Please reviews

🇷🇺Russia batkor Irkutsk

Hi
Or copy your a need configs from DRUPAL_ROOT/modules/contrib/search_api_solr/config/optional

🇷🇺Russia batkor Irkutsk

Hi.
I think, we need see template loaders.
Please see https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co...

Relative paths and i get errors in my reactPHP app;
```
Uncaught PHP Exception Twig\Error\LoaderError: "Template "core/modules/views/templates/views-view.html.twig" is not defined." at /var/www/html/vendor/twig/twig/src/Loader/ChainLoader.php line 99
```

🇷🇺Russia batkor Irkutsk

Thanks, PAtch #4 worked for me.
Drupal 10.1.1)

🇷🇺Russia batkor Irkutsk

Why do you need it for existing websites?

Or add update instruction.
I used a 2.0.0 module version. After update to 2.1.0, i get error
TypeError: uasort(): Argument #1 ($array) must be of type array, null given in uasort() (line 284 of modules/metatag/src/MetatagManager.php

🇷🇺Russia batkor Irkutsk

Hi.
Thanks.
I think, need create hook update for add default config

🇷🇺Russia batkor Irkutsk

Add new plugin, Filter by providers.

🇷🇺Russia batkor Irkutsk

I think need replace "Category" plugin to Provider. Provider (always) = module_machine_name

🇷🇺Russia batkor Irkutsk

Example for $11

/**
   * Implements pre save event subscriber.
   *
   * @param \Drupal\default_content_deploy\Event\PreSaveEntityEvent $event
   *   The event.
   */
  public function preSave(PreSaveEntityEvent $event) {
    $pathAliasesStorage = $this
      ->entityTypeManager
      ->getStorage('path_alias');
    $data = $event->getData();
    $entity = $event->getEntity();

    if (empty($data['path'])) {
      return;
    }

    foreach (array_keys($entity->getTranslationLanguages()) as $langcode) {
      $value = NULL;

      foreach ($data['path'] as $pathValue) {
        if ($pathValue['langcode'] === $langcode) {
          $value = $pathValue;
          break;
        }
      }

      if (!empty($value) && !empty($value['alias'])) {
        unset($value['pid']);
        $value['pathauto'] = PathautoState::SKIP;
        $pathAliases = $pathAliasesStorage->loadByProperties([
          'alias' => $value['alias'],
        ]);
        $pathAliasesStorage->delete($pathAliases);
        $translateEntity = $entity->getTranslation($langcode);
        $translateEntity->set('path', $value);
        $this->pathautoGenerator->createEntityAlias($translateEntity, 'insert');
      }
    }
  }
🇷🇺Russia batkor Irkutsk

Hi.

Create patch for beta3 tags.
Implements from event dispatcher.

I think need move patch for a 2 branch

Production build 0.71.5 2024