public function ScheduledTransitionsUtilityInterface::getTargetRevisionIds in Scheduled Transitions 2.x
Get potential revisions which can be transitioned to.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity a transition is created for.
string $language: The language code.
Return value
array An unordered array of revision IDs.
1 method overrides ScheduledTransitionsUtilityInterface::getTargetRevisionIds()
- ScheduledTransitionsUtility::getTargetRevisionIds in src/
ScheduledTransitionsUtility.php - Get potential revisions which can be transitioned to.
File
- src/
ScheduledTransitionsUtilityInterface.php, line 54
Class
- ScheduledTransitionsUtilityInterface
- Utilities for Scheduled Transitions module.
Namespace
Drupal\scheduled_transitionsCode
public function getTargetRevisionIds(EntityInterface $entity, string $language) : array;