public function TMGMTLocaleSourceUIController::getSearchFormSubmittedParams in Translation Management Tool 7
Gets submitted search params.
Return value
array
2 calls to TMGMTLocaleSourceUIController::getSearchFormSubmittedParams()
- TMGMTLocaleSourceUIController::overviewForm in sources/
locale/ tmgmt_locale.ui.inc - Implements TMGMTSourceUIControllerInterface::overviewForm().
- TMGMTLocaleSourceUIController::overviewSearchFormPart in sources/
locale/ tmgmt_locale.ui.inc - Builds search form for entity sources overview.
File
- sources/
locale/ tmgmt_locale.ui.inc, line 219 - Provides the I18nString source controller.
Class
- TMGMTLocaleSourceUIController
- Class TMGMTI18nStringDefaultSourceUIController
Code
public function getSearchFormSubmittedParams() {
$params = array(
'label' => NULL,
'missing_target_language' => NULL,
);
if (isset($_GET['label'])) {
$params['label'] = $_GET['label'];
}
if (isset($_GET['missing_target_language'])) {
$params['missing_target_language'] = $_GET['missing_target_language'];
}
return $params;
}