Returns an array of placeholders for this entity.
Individual entity classes may override this method to add additional placeholders if desired. If so, they should be sure to replicate the property caching logic.
array An array of URI placeholders.
protected function uriPlaceholderReplacements() {
if (empty($this->uriPlaceholderReplacements)) {
$this->uriPlaceholderReplacements = array(
'{entityType}' => $this
->entityType(),
'{bundle}' => $this
->bundle(),
'{id}' => $this
->id(),
'{uuid}' => $this
->uuid(),
'{' . $this
->entityType() . '}' => $this
->id(),
);
}
return $this->uriPlaceholderReplacements;
}