public static function KanbanFilterForm::getUserIdFilter in Content Planner 8
Gets the User ID filter from request.
Return value
int|null Returns the filter_uid value if it exists, NULL otherwise.
2 calls to KanbanFilterForm::getUserIdFilter()
- Kanban::build in modules/
content_kanban/ src/ Component/ Kanban.php - Build.
- KanbanFilterForm::buildForm in modules/
content_kanban/ src/ Form/ KanbanFilterForm.php - Form constructor.
File
- modules/
content_kanban/ src/ Form/ KanbanFilterForm.php, line 265
Class
- KanbanFilterForm
- KanbanFilterForm class.
Namespace
Drupal\content_kanban\FormCode
public static function getUserIdFilter() {
if (\Drupal::request()->query
->has('filter_uid')) {
return \Drupal::request()->query
->getInt('filter_uid');
}
return NULL;
}