toggle search filers display
This commit is contained in:
@@ -47,9 +47,18 @@ class MaterioSapiSearchForm extends FormBase {
|
||||
];
|
||||
|
||||
$form['filters'] = [
|
||||
'#type' => 'container'
|
||||
'#type' => 'fieldset',
|
||||
'#title' => t('Assisted Search'),
|
||||
'#legend_attributes' => [
|
||||
"class" => ["test-attribute"],
|
||||
'@click.prevent' => "onClickFilters",
|
||||
]
|
||||
];
|
||||
|
||||
// $form['filters']['switch'] = [
|
||||
// '#type' => "label",
|
||||
//
|
||||
// ]
|
||||
$query = \Drupal::entityQuery('taxonomy_term');
|
||||
$query->condition('vid', "assisted_research");
|
||||
$tids = $query->execute();
|
||||
|
Reference in New Issue
Block a user