protected function WebformEntityListBuilder::initialize in Webform 6.x
Initialize WebformEntityListBuilder object.
File
- src/
WebformEntityListBuilder.php, line 92
Class
- WebformEntityListBuilder
- Defines a class to build a listing of webform entities.
Namespace
Drupal\webformCode
protected function initialize() {
$query = $this->request->query;
$config = $this->configFactory
->get('webform.settings');
$this->keys = $query
->has('search') ? $query
->get('search') : '';
$this->category = $query
->has('category') ? $query
->get('category') : $config
->get('form.filter_category');
$this->state = $query
->has('state') ? $query
->get('state') : $config
->get('form.filter_state');
$this->bulkOperations = $config
->get('settings.webform_bulk_form') ?: FALSE;
}