Skip to main content
added 261 characters in body
Source Link
Baach
  • 233
  • 1
  • 7

You can use hook_form_alter or hook_views_pre_render and check the url with $_GET or current_path() ,it's the fast and easy way.

Or you can play with Views create entity reference Filter (entityreference_filter) add your CONTEXTUAL FILTERS after that in your view add Reference Filter in Filter Criteria.

You can use hook_form_alter and check the url with $_GET or current_path() ,it's the fast and easy way

You can use hook_form_alter or hook_views_pre_render and check the url with $_GET or current_path() ,it's the fast and easy way.

Or you can play with Views create entity reference Filter (entityreference_filter) add your CONTEXTUAL FILTERS after that in your view add Reference Filter in Filter Criteria.

Source Link
Baach
  • 233
  • 1
  • 7

You can use hook_form_alter and check the url with $_GET or current_path() ,it's the fast and easy way