public function Translator::id in Translation Management Tool 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/ Translator.php, line 156
Class
- Translator
- Entity class for the tmgmt_translator entity.
Namespace
Drupal\tmgmt\EntityCode
public function id() {
return $this->name;
}