From d587c9f9ddf5d8946752f4541b3dc0f513d014ba Mon Sep 17 00:00:00 2001 From: Avi Schwab Date: Tue, 27 Jun 2023 19:48:25 +0000 Subject: [PATCH] DS-825 Move event listing placeholder text to label --- .../openy_prgf_event_listing/openy_prgf_event_listing.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openy_prgf/modules/openy_prgf_event_listing/openy_prgf_event_listing.module b/openy_prgf/modules/openy_prgf_event_listing/openy_prgf_event_listing.module index 33b38698..e0b3b1ea 100644 --- a/openy_prgf/modules/openy_prgf_event_listing/openy_prgf_event_listing.module +++ b/openy_prgf/modules/openy_prgf_event_listing/openy_prgf_event_listing.module @@ -13,6 +13,6 @@ function openy_prgf_event_listing_form_views_exposed_form_alter(&$form, \Drupal\ // Add placeholder to views exposed form if ($view->id() == 'listing_event_posts' && $view->current_display == 'events_listing_block') { - $form['combine']['#attributes']['placeholder'] = t('Search the events...'); + $form['combine']['#title'] = t('Search the events:'); } } \ No newline at end of file