Created
November 1, 2023 22:15
-
-
Save ahebrank/2c668d847ecd0b432eb885bf92b2dc27 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..defe0d1 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_widget_complete_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