You are here

protected function ClassUtilsTrait::revisionOwnerInterfaces in Scheduled Updates 8

Get class names of interfaces that support revision ownership.

Core and Entity API interfaces.

Return value

array

1 call to ClassUtilsTrait::revisionOwnerInterfaces()
UpdateUtils::supportsRevisionOwner in src/UpdateUtils.php
Determines if entity type being updated supports Revision Ownership.

File

src/ClassUtilsTrait.php, line 54
Contains \Drupal\scheduled_updates\ClassUtilsTrait.

Class

ClassUtilsTrait
Trait for Class related functions.

Namespace

Drupal\scheduled_updates

Code

protected function revisionOwnerInterfaces() {
  return [
    'Drupal\\entity\\Revision\\EntityRevisionLogInterface',
    'Drupal\\node\\NodeInterface',
  ];
}