public function UpdateUtils::supportsRevisionOwner in Scheduled Updates 8
Determines if entity type being updated supports Revision Ownership.
Parameters
\Drupal\scheduled_updates\ScheduledUpdateTypeInterface $scheduledUpdateType:
Return value
bool
Overrides UpdateUtilsInterface::supportsRevisionOwner
File
- src/
UpdateUtils.php, line 162
Class
- UpdateUtils
- Service to determine information about Scheduled Update Types.
Namespace
Drupal\scheduled_updatesCode
public function supportsRevisionOwner(ScheduledUpdateTypeInterface $scheduledUpdateType) {
if ($definition = $this
->getUpdateTypeDefinition($scheduledUpdateType)) {
return $this
->definitionClassImplementsInterface($definition, $this
->revisionOwnerInterfaces());
}
return FALSE;
}