public function UpdateUtils::supportsOwner in Scheduled Updates 8
Determines if the entity type being updated supports ownership.
Parameters
\Drupal\scheduled_updates\ScheduledUpdateTypeInterface $scheduledUpdateType:
Return value
bool
Overrides UpdateUtilsInterface::supportsOwner
File
- src/
UpdateUtils.php, line 176
Class
- UpdateUtils
- Service to determine information about Scheduled Update Types.
Namespace
Drupal\scheduled_updatesCode
public function supportsOwner(ScheduledUpdateTypeInterface $scheduledUpdateType) {
if ($type = $this
->getUpdateTypeDefinition($scheduledUpdateType)) {
return $this
->definitionClassImplementsInterface($type, [
'Drupal\\user\\EntityOwnerInterface',
]);
}
return FALSE;
}