protected function SortBaseForm::getsortId in Entity Share 8
Same name and namespace in other branches
- 8.3 modules/entity_share_server/src/Form/SortBaseForm.php \Drupal\entity_share_server\Form\SortBaseForm::getsortId()
- 8.2 modules/entity_share_server/src/Form/SortBaseForm.php \Drupal\entity_share_server\Form\SortBaseForm::getsortId()
Retrieves the sort that is being edited.
Return value
string The sort id.
3 calls to SortBaseForm::getsortId()
- SortBaseForm::sortIdExists in modules/
entity_share_server/ src/ Form/ SortBaseForm.php - Check if the sort exists.
- SortDeleteForm::form in modules/
entity_share_server/ src/ Form/ SortDeleteForm.php - Gets the actual form array to be built.
- SortEditForm::form in modules/
entity_share_server/ src/ Form/ SortEditForm.php - Gets the actual form array to be built.
File
- modules/
entity_share_server/ src/ Form/ SortBaseForm.php, line 69
Class
- SortBaseForm
- Class SortBaseForm.
Namespace
Drupal\entity_share_server\FormCode
protected function getsortId() {
if (!isset($this->sortId)) {
$this->sortId = $this
->getRequest()->attributes
->get('sort');
}
return $this->sortId;
}