public function TokenAuthUser::setRevisionTranslationAffectedEnforced in Simple OAuth (OAuth2) & OpenID Connect 8
Same name and namespace in other branches
- 8.4 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::setRevisionTranslationAffectedEnforced()
- 8.3 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::setRevisionTranslationAffectedEnforced()
- 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::setRevisionTranslationAffectedEnforced()
Enforces the revision translation affected flag value.
Note that this method call will not have any influence on the storage if the value of the revision translation affected flag is NULL which is used as an indication for the storage to recompute the flag.
@internal
Parameters
bool $enforced: If TRUE, the value of the revision translation affected flag will be enforced so that on entity save the entity storage will not recompute it. Otherwise the storage will recompute it.
Return value
$this
Overrides TranslatableRevisionableInterface::setRevisionTranslationAffectedEnforced
See also
\Drupal\Core\Entity\ContentEntityInterface::setRevisionTranslationAffected()
File
- src/
Authentication/ TokenAuthUser.php, line 872
Class
- TokenAuthUser
- Class TokenAuthUser.
Namespace
Drupal\simple_oauth\AuthenticationCode
public function setRevisionTranslationAffectedEnforced($enforced) {
return $this->subject
->setRevisionTranslationAffectedEnforced($enforced);
}