You are here

public function EntityStatus::getUuid in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::getUuid()
  2. 2.1.x src/Entity/EntityStatus.php \Drupal\cms_content_sync\Entity\EntityStatus::getUuid()

Returns the UUID of the entity this information belongs to.

Return value

string

4 calls to EntityStatus::getUuid()
EntityStatus::getEntity in src/Entity/EntityStatus.php
Get the entity this entity status belongs to.
EntityStatus::isOverriddenLocally in src/Entity/EntityStatus.php
Returns the information if the user override the entity locally.
EntityStatus::isSourceEntity in src/Entity/EntityStatus.php
Returns the information if the entity has originally been created on this site.
EntityStatus::setLastPull in src/Entity/EntityStatus.php
Set the last pull timestamp.

File

src/Entity/EntityStatus.php, line 913

Class

EntityStatus
Defines the "Content Sync - Entity Status" entity type.

Namespace

Drupal\cms_content_sync\Entity

Code

public function getUuid() {
  return $this
    ->get('entity_uuid')->value;
}