private function MergeTermsConfirm::getSelectedTermIds in Term Merge 8
Gets a list of selected term ids from the temp store.
Return value
int[] The selected term ids.
3 calls to MergeTermsConfirm::getSelectedTermIds()
- MergeTermsConfirm::buildForm in src/
Form/ MergeTermsConfirm.php - Plugin annotation @SuppressWarnings(camelCase) @SuppressWarnings("else")
- MergeTermsConfirm::loadSelectedTerms in src/
Form/ MergeTermsConfirm.php - Loads the selected terms.
- MergeTermsConfirm::titleCallback in src/
Form/ MergeTermsConfirm.php - Callback for the form title.
File
- src/
Form/ MergeTermsConfirm.php, line 183
Class
- MergeTermsConfirm
- Term merge confirm form.
Namespace
Drupal\term_merge\FormCode
private function getSelectedTermIds() {
$selectedTerms = $this->tempStoreFactory
->get('term_merge')
->get('terms');
if ($selectedTerms === NULL) {
$selectedTerms = [];
}
return $selectedTerms;
}