public function ScheduledTransition::getEntityRevisionLanguage in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x src/Entity/ScheduledTransition.php \Drupal\scheduled_transitions\Entity\ScheduledTransition::getEntityRevisionLanguage()
Get the language of the revision this scheduled transition is for.
Return value
string|null The revision language code.
Overrides ScheduledTransitionInterface::getEntityRevisionLanguage
File
- src/
Entity/ ScheduledTransition.php, line 148
Class
- ScheduledTransition
- Scheduled Transition entity.
Namespace
Drupal\scheduled_transitions\EntityCode
public function getEntityRevisionLanguage() : ?string {
return $this
->get('entity_revision_langcode')->value;
}