You are here

public function DependentEntityWrapper::getRemoteUuid in Dependency Calculation 8

Get remote uuid.

Return value

null|string The uuid.

Overrides DependentEntityWrapperInterface::getRemoteUuid

File

src/DependentEntityWrapper.php, line 120

Class

DependentEntityWrapper
An entity wrapper class for finding and tracking dependencies of an entity.

Namespace

Drupal\depcalc

Code

public function getRemoteUuid() {
  if (!empty($this->remoteUuid)) {
    return $this->remoteUuid;
  }
  return $this
    ->getUuid();
}