You are here

public function Blocktabs::id in Block Tabs 8

Gets the identifier.

Return value

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

Overrides EntityBase::id

1 call to Blocktabs::id()
Blocktabs::postSave in src/Entity/Blocktabs.php
Acts on a saved entity before the insert or update hook is invoked.

File

src/Entity/Blocktabs.php, line 95

Class

Blocktabs
Defines a blocktabs configuration entity.

Namespace

Drupal\blocktabs\Entity

Code

public function id() {
  return $this->name;
}