public function ModerationInformationInterface::getDefaultRevisionId in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 src/ModerationInformationInterface.php \Drupal\workbench_moderation\ModerationInformationInterface::getDefaultRevisionId()
Returns the revision ID of the default revision for the specified entity.
Parameters
string $entity_type_id: The entity type ID.
int $entity_id: The entity ID.
Return value
int The revision ID of the default revision, or NULL if the entity was not found.
1 method overrides ModerationInformationInterface::getDefaultRevisionId()
- ModerationInformation::getDefaultRevisionId in src/
ModerationInformation.php - Returns the revision ID of the default revision for the specified entity.
File
- src/
ModerationInformationInterface.php, line 172
Class
- ModerationInformationInterface
- Interface for moderation_information service.
Namespace
Drupal\workbench_moderationCode
public function getDefaultRevisionId($entity_type_id, $entity_id);