Account created on 7 February 2017, almost 8 years ago
#

Merge Requests

Recent comments

πŸ‡§πŸ‡¬Bulgaria a.sotirov

Here is an updated patch related to 10.2.x version of drupal/core.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

I'm uploading a patch for 8.x-1.1 since it is still the latest 8.x-1.x supported version.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

a.sotirov β†’ changed the visibility of the branch 8.x-1.x to hidden.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

a.sotirov β†’ made their first commit to this issue’s fork.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

Since the suggested hook function has been removed from Drupal 10, the refactored code from #8 should look like:

function my_module_field_widget_single_element_form_alter(&$element, FormStateInterface $form_state, $context) {
  $widget_type = $context['widget']->getPluginId();
  if ($widget_type === 'link_default' || $widget_type === 'link_attributes' || $widget_type === 'link_target_field_widget') {
    $element['uri']['#selection_settings'] = [
      'match_limit' => 0,
    ];
  }
πŸ‡§πŸ‡¬Bulgaria a.sotirov

@joro78
I'm planning to make complete refactoring of this module in the next few weeks. So this one will be also fixed.
Thanks a lot for you report.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

@kmakaveev
The patch has been applied successfully. Thanks for the contribution.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

@tlyngej I have just added the first Automated test. Thanks a lot for your cooperation.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

I have created a patch for adding this additional functionality.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

Here is the patch that solve the problem since false php array_search function result unsets $nodeFields array first element with value 0.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

Tested #53 with php 8.1 and Drupal Core 9.5.4. Works perfectly both with single or multiple selections for delete.
RTBTC +1

πŸ‡§πŸ‡¬Bulgaria a.sotirov

@kmakaveev, @elber Thanks a lot for your contribution to this task. The changes have been merged into the dev.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

@kmakaveev I'm going to create the requested changes.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

a.sotirov β†’ made their first commit to this issue’s fork.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

The changes have been tested with the latest stable version of drupal/domain: https://www.drupal.org/project/domain/releases/8.x-1.0-beta7 β†’

πŸ‡§πŸ‡¬Bulgaria a.sotirov

@flyke I just updated your patch with a new version dependency in country_path.info.yml. Kind regards for your contribution. Great work!

πŸ‡§πŸ‡¬Bulgaria a.sotirov

@nortmas
I just updated your changes to be compatible with the lates8.x-1.x dev branch. The changes seems to work fine and they will be part of the next "stable" release.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

@kmakaveev. The changes have been merged into 8.x-1.x. Thanks for your contribution.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

The patch has been updated and uploaded.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

@nortmas
Big thanks for the proposed solution.
Since we need to apply it to *-dev code version, I just refactored a little bit your patch.

πŸ‡§πŸ‡¬Bulgaria a.sotirov

@rastepanyan
The changes have been reviewed and approved. Nice work and thanks a lot for your cooperation.

Production build 0.71.5 2024