protected function WebformOptionsListBuilder::buildFilterForm in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformOptionsListBuilder.php \Drupal\webform\WebformOptionsListBuilder::buildFilterForm()
Build the filter form.
Return value
array A render array representing the filter form.
1 call to WebformOptionsListBuilder::buildFilterForm()
- WebformOptionsListBuilder::render in src/
WebformOptionsListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
File
- src/
WebformOptionsListBuilder.php, line 95
Class
- WebformOptionsListBuilder
- Defines a class to build a listing of webform options entities.
Namespace
Drupal\webformCode
protected function buildFilterForm() {
$categories = $this
->getStorage()
->getCategories();
return \Drupal::formBuilder()
->getForm('\\Drupal\\webform\\Form\\WebformOptionsFilterForm', $this->keys, $this->category, $categories);
}