You are here

public function UserRestrictions::id in User restrictions 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

File

src/Entity/UserRestrictions.php, line 108

Class

UserRestrictions
Defines an image style configuration entity.

Namespace

Drupal\user_restrictions\Entity

Code

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