Here is an updated patch related to 10.2.x version of drupal/core
.
I'm uploading a patch for 8.x-1.1
since it is still the latest 8.x-1.x
supported version.
a.sotirov β created an issue.
a.sotirov β changed the visibility of the branch 8.x-1.x to hidden.
a.sotirov β made their first commit to this issueβs fork.
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,
];
}
a.sotirov β created an issue.
a.sotirov β created an issue.
a.sotirov β created an issue.
Here is the proposed patch regarding the reported issue.
a.sotirov β created an issue.
@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.
@kmakaveev
The patch has been applied successfully. Thanks for the contribution.
@rastepanyan
The reported PHP Notice
has been fixed. Thanks for your cooperation.
@tlyngej I have just added the first Automated test. Thanks a lot for your cooperation.
I have created a patch for adding this additional functionality.
a.sotirov β created an issue.
Here is the patch that solve the problem since false
php array_search
function result unsets $nodeFields
array first element with value 0
.
a.sotirov β created an issue. See original summary β .
Tested #53 with php 8.1
and Drupal Core 9.5.4
. Works perfectly both with single or multiple selections for delete.
RTBTC +1
@kmakaveev, @elber Thanks a lot for your contribution to this task. The changes have been merged into the dev
.
@kmakaveev I'm going to create the requested changes.
a.sotirov β made their first commit to this issueβs fork.
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 β
@flyke I just updated your patch with a new version dependency in country_path.info.yml
. Kind regards for your contribution. Great work!
@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.
@kmakaveev. The changes have been merged into 8.x-1.x
. Thanks for your contribution.
The patch has been updated and uploaded.
@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.
+1 RTBC
It works on my site with Drupal Core 9.5.3 and php 8.1.
a.sotirov β created an issue.
@rastepanyan
The changes have been reviewed and approved. Nice work and thanks a lot for your cooperation.