You are here

public function MentionsType::id in Open Social 8

Same name and namespace in other branches
  1. 8.9 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  2. 8.2 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  3. 8.3 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  4. 8.4 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  5. 8.5 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  6. 8.6 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  7. 8.7 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  8. 8.8 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  9. 10.3.x modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  10. 10.0.x modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  11. 10.1.x modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
  12. 10.2.x modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::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

modules/custom/mentions/src/Entity/MentionsType.php, line 91

Class

MentionsType
Defines the Mentions Type entity.

Namespace

Drupal\mentions\Entity

Code

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