You are here

protected function LingotekManagementRelatedEntitiesForm::setRecursionDepth in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8.2 src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::setRecursionDepth()
  2. 4.0.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::setRecursionDepth()
  3. 3.0.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::setRecursionDepth()
  4. 3.1.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::setRecursionDepth()
  5. 3.2.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::setRecursionDepth()
  6. 3.3.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::setRecursionDepth()
  7. 3.5.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::setRecursionDepth()
  8. 3.6.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::setRecursionDepth()
  9. 3.7.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::setRecursionDepth()
  10. 3.8.x src/Form/LingotekManagementRelatedEntitiesForm.php \Drupal\lingotek\Form\LingotekManagementRelatedEntitiesForm::setRecursionDepth()

Saves the recursion depth in temp storage.

Parameters

int $depth: The recursion depth.

Throws

\Drupal\Core\TempStore\TempStoreException

1 call to LingotekManagementRelatedEntitiesForm::setRecursionDepth()
LingotekManagementRelatedEntitiesForm::recursionDepthCallback in src/Form/LingotekManagementRelatedEntitiesForm.php

File

src/Form/LingotekManagementRelatedEntitiesForm.php, line 309

Class

LingotekManagementRelatedEntitiesForm
Form for bulk management of related content.

Namespace

Drupal\lingotek\Form

Code

protected function setRecursionDepth($depth) {
  $temp_store = $this->tempStoreFactory
    ->get('lingotek.management.recursion_depth');
  $temp_store
    ->set('depth', $depth);
}