You are here

public function Filebrowser::id in Filebrowser 8

Gets the identifier.

Return value

string|int|null The entity identifier, or NULL if the object does not yet have an identifier.

Overrides ContentEntityBase::id

File

lib/Drupal/filebrowser/Entity/Filebrowser.php, line 49
Contains \Drupal\filebrowser\Entity\Filebrowser.

Class

Filebrowser
Defines the Filebrowser entity.

Namespace

Drupal\filebrowser\Entity

Code

public function id() {
  return $this
    ->get('filebrowserid')->value;
}