diff --git a/core/lib/Drupal/Core/Entity/ContentEntityBase.php b/core/lib/Drupal/Core/Entity/ContentEntityBase.php index 7521601cd58a4c85587940cc12c9947d75f8acc7..9802c3df8da989a3ee925ef9fda7d998c160bee4 100644 --- a/core/lib/Drupal/Core/Entity/ContentEntityBase.php +++ b/core/lib/Drupal/Core/Entity/ContentEntityBase.php @@ -80,7 +80,7 @@ abstract class ContentEntityBase extends EntityBase implements \IteratorAggregat * Language code identifying the entity active language. * * This is the language field accessors will use to determine which field - * values manipulate. + * values to manipulate. * * @var string */ @@ -97,8 +97,8 @@ abstract class ContentEntityBase extends EntityBase implements \IteratorAggregat * An array of entity translation metadata. * * An associative array keyed by translation language code. Every value is an - * array containing the translation status and the translation object, if it has - * already been instantiated. + * array containing the translation status and the translation object, if it + * has already been instantiated. * * @var array */ @@ -502,7 +502,7 @@ public function setValidationRequired($required) { } /** - * Clear entity translation object cache to remove stale references. + * Clears entity translation object cache to remove stale references. */ protected function clearTranslationCache() { foreach ($this->translations as &$translation) { diff --git a/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php b/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php index 7e18e5bca1f4ad191abdc62ac9a0e93519a5bc04..dab7aa7ca8cc8a9b47d5af2e850d52576472910a 100644 --- a/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php +++ b/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php @@ -834,7 +834,7 @@ public function deleteRevision($revision_id) { abstract protected function doDeleteRevisionFieldItems(ContentEntityInterface $revision); /** - * Checks translation statuses and invoke the related hooks if needed. + * Checks translation statuses and invokes the related hooks if needed. * * @param \Drupal\Core\Entity\ContentEntityInterface $entity * The entity being saved.