protected function ExportConfirmForm::getTmpStoredData in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/Form/ExportConfirmForm.php \Drupal\content_synchronizer\Form\ExportConfirmForm::getTmpStoredData()
- 3.x src/Form/ExportConfirmForm.php \Drupal\content_synchronizer\Form\ExportConfirmForm::getTmpStoredData()
Return the stored element by key.
Parameters
string $key: The key.
Return value
mixed The value.
2 calls to ExportConfirmForm::getTmpStoredData()
- ExportConfirmForm::getEntities in src/
Form/ ExportConfirmForm.php - Return the list of entities to export.
- ExportConfirmForm::onBatchEnd in src/
Form/ ExportConfirmForm.php - On batch end redirect to the form url.
File
- src/
Form/ ExportConfirmForm.php, line 227
Class
- ExportConfirmForm
- Class ExportConfirmForm.
Namespace
Drupal\content_synchronizer\FormCode
protected function getTmpStoredData($key) {
return $this->tempStoreFactory
->get(static::FORM_ID)
->get(\Drupal::currentUser()
->id())[$key];
}