protected function SearchBaseForm::getsearchId in Entity Share 8.3
Same name and namespace in other branches
- 8.2 modules/entity_share_server/src/Form/SearchBaseForm.php \Drupal\entity_share_server\Form\SearchBaseForm::getsearchId()
Retrieves the search that is being edited.
Return value
string The search id.
3 calls to SearchBaseForm::getsearchId()
- SearchBaseForm::searchIdExists in modules/
entity_share_server/ src/ Form/ SearchBaseForm.php - Check if the search exists.
- SearchDeleteForm::form in modules/
entity_share_server/ src/ Form/ SearchDeleteForm.php - Gets the actual form array to be built.
- SearchEditForm::form in modules/
entity_share_server/ src/ Form/ SearchEditForm.php - Gets the actual form array to be built.
File
- modules/
entity_share_server/ src/ Form/ SearchBaseForm.php, line 58
Class
- SearchBaseForm
- Base class for search form.
Namespace
Drupal\entity_share_server\FormCode
protected function getsearchId() {
if (!isset($this->searchId)) {
$this->searchId = $this
->getRequest()->attributes
->get('search');
}
return $this->searchId;
}