public ContentEntityBase::setRevisionTranslationAffected($affected)
Marks the current revision translation as affected.
bool|null $affected: The flag value. A NULL value can be specified to reset the current value and make sure a new value will be computed by the system.
$this
Overrides ContentEntityInterface::setRevisionTranslationAffected
public function setRevisionTranslationAffected($affected) { $field_name = 'revision_translation_affected'; if ($this->hasField($field_name)) { $this->set($field_name, $affected); } return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityBase.php/function/ContentEntityBase::setRevisionTranslationAffected/8.1.x