You are here

public function DisplayBase::getUuid in Entity Browser 8.2

Same name and namespace in other branches
  1. 8 src/DisplayBase.php \Drupal\entity_browser\DisplayBase::getUuid()

Gets the uuid for this display.

Return value

string The uuid string.

Overrides DisplayInterface::getUuid

3 calls to DisplayBase::getUuid()
DisplayBase::displayEntityBrowser in src/DisplayBase.php
Displays entity browser.
IFrame::displayEntityBrowser in src/Plugin/EntityBrowser/Display/IFrame.php
Displays entity browser.
Modal::displayEntityBrowser in src/Plugin/EntityBrowser/Display/Modal.php
Displays entity browser.

File

src/DisplayBase.php, line 147

Class

DisplayBase
Base implementation for display plugins.

Namespace

Drupal\entity_browser

Code

public function getUuid() {
  if (empty($this->uuid)) {
    $this->uuid = $this->uuidGenerator
      ->generate();
  }
  return $this->uuid;
}