Created
November 1, 2023 22:13
-
-
Save ahebrank/1db879c3e82cb6118f158c83f25664e7 to your computer and use it in GitHub Desktop.
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/viewfield_argument_helper.module b/viewfield_argument_helper.module | |
index 48a9355..0674bac 100644 | |
--- a/viewfield_argument_helper.module | |
+++ b/viewfield_argument_helper.module | |
@@ -27,7 +27,7 @@ function viewfield_argument_helper_help($route_name, RouteMatchInterface $route_ | |
/** | |
* Implements hook_field_widget_viewfield_select_form_alter(). | |
*/ | |
-function viewfield_argument_helper_field_widget_viewfield_select_form_alter(&$element, FormStateInterface $form_state, $context) { | |
+function viewfield_argument_helper_field_single_element_widget_viewfield_select_form_alter(&$element, FormStateInterface $form_state, $context) { | |
if (!\Drupal::currentUser()->hasPermission('use viewfield argument helper')) { | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment