Skip to content
Snippets Groups Projects
Verified Commit 56cfeaf5 authored by Jess's avatar Jess
Browse files

Issue #3383692 by Murz, xjm, smustgrave: Document that NULL is an allowed...

Issue #3383692 by Murz, xjm, smustgrave: Document that NULL is an allowed return value for EntityRepositoryInterface::getTranslationFromContext()

(cherry picked from commit 731c7344)
parent 3cc2d752
Branches
Tags
7 merge requests!11628Update file MediaLibraryWidget.php,!7564Revert "Issue #3364773 by roshnichordiya, Chris Matthews, thakurnishant_06,...,!5752Issue #3275828 by joachim, quietone, bradjones1, Berdir: document the reason...,!5627Issue #3261805: Field not saved when change of 0 on string start,!5427Issue #3338518: send credentials in ajax if configured in CORS settings.,!5395Issue #3387916 by fjgarlin, Spokje: Each GitLab job exposes user email,!3106Issue #3017548: "Filtered HTML" text format does not support manual teaser break (<!--break-->)
Checking pipeline status
...@@ -64,8 +64,9 @@ public function loadEntityByConfigTarget($entity_type_id, $target); ...@@ -64,8 +64,9 @@ public function loadEntityByConfigTarget($entity_type_id, $target);
* (optional) An associative array of arbitrary data that can be useful to * (optional) An associative array of arbitrary data that can be useful to
* determine the proper fallback sequence. * determine the proper fallback sequence.
* *
* @return \Drupal\Core\Entity\EntityInterface * @return \Drupal\Core\Entity\EntityInterface|null
* An entity object for the translated data. * An entity object for the translated data, or NULL if the requested
* translation is missing, forbidden, or unavailable.
* *
* @see \Drupal\Core\Language\LanguageManagerInterface::getFallbackCandidates() * @see \Drupal\Core\Language\LanguageManagerInterface::getFallbackCandidates()
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment