public function MentionsType::id in Open Social 10.0.x
Same name and namespace in other branches
- 8.9 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 8 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 8.2 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 8.3 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 8.4 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 8.5 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 8.6 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 8.7 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 8.8 modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 10.3.x modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 10.1.x modules/custom/mentions/src/Entity/MentionsType.php \Drupal\mentions\Entity\MentionsType::id()
- 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\EntityCode
public function id() {
return $this->name;
}