You are here

public function RealisticDummyContentAttribute::getUid in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::getUid()
  2. 7.2 api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::getUid()

Gets the UID of the associated entity.

Return value

int The UID.

1 call to RealisticDummyContentAttribute::getUid()
RealisticDummyContentAttribute::fileSave in api/src/includes/RealisticDummyContentAttribute.php
Return a file object.

File

api/src/includes/RealisticDummyContentAttribute.php, line 102

Class

RealisticDummyContentAttribute
Represents either a field or a property for an entity.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

public function getUid() {
  return $this
    ->getEntity()
    ->getUid();
}