protected function FilterBaseForm::getFilterId in Entity Share 8.3
Same name and namespace in other branches
- 8 modules/entity_share_server/src/Form/FilterBaseForm.php \Drupal\entity_share_server\Form\FilterBaseForm::getFilterId()
- 8.2 modules/entity_share_server/src/Form/FilterBaseForm.php \Drupal\entity_share_server\Form\FilterBaseForm::getFilterId()
Retrieves the filter that is being edited.
Return value
string The filter id.
4 calls to FilterBaseForm::getFilterId()
- FilterBaseForm::filterIdExists in modules/
entity_share_server/ src/ Form/ FilterBaseForm.php - Check if the filter exists.
- FilterDeleteForm::form in modules/
entity_share_server/ src/ Form/ FilterDeleteForm.php - Gets the actual form array to be built.
- FilterEditForm::buildValueElement in modules/
entity_share_server/ src/ Form/ FilterEditForm.php - Helper function to generate filter form elements.
- FilterEditForm::form in modules/
entity_share_server/ src/ Form/ FilterEditForm.php - Gets the actual form array to be built.
File
- modules/
entity_share_server/ src/ Form/ FilterBaseForm.php, line 145
Class
- FilterBaseForm
- Base class for filter form.
Namespace
Drupal\entity_share_server\FormCode
protected function getFilterId() {
if (!isset($this->filterId)) {
$this->filterId = $this
->getRequest()->attributes
->get('filter');
}
return $this->filterId;
}