You are here

public function FileLinkQueueItem::getKey in File Link 2.0.x

Get a key to keep track of queued items.

Return value

string The key which identifies the queued entity variation.

File

src/FileLinkQueueItem.php, line 128

Class

FileLinkQueueItem
Data object for a queue item to update a file link data.

Namespace

Drupal\file_link

Code

public function getKey() : string {
  return $this
    ->getType() . $this
    ->getId() . $this
    ->getLang() . $this
    ->getRevisionId() ?? '';
}