You are here

public function EntityformType::id in Entityform 8.3

Same name and namespace in other branches
  1. 8.2 lib/Drupal/entityform/Entity/EntityformType.php \Drupal\entityform\Entity\EntityformType::id()

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/EntityformType.php, line 126
Contains \Drupal\entityform\Entity\EntityformType.

Class

EntityformType
Defines the Entityform type configuration entity.

Namespace

Drupal\entityform\Entity

Code

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