public function Index::id in Elasticsearch Connector 8
Same name and namespace in other branches
- 8.7 src/Entity/Index.php \Drupal\elasticsearch_connector\Entity\Index::id()
- 8.2 src/Entity/Index.php \Drupal\elasticsearch_connector\Entity\Index::id()
- 8.5 src/Entity/Index.php \Drupal\elasticsearch_connector\Entity\Index::id()
- 8.6 src/Entity/Index.php \Drupal\elasticsearch_connector\Entity\Index::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/ Index.php, line 78 - Contains \Drupal\elasticsearch_connector\Entity\Index.
Class
- Index
- Defines the search server configuration entity.
Namespace
Drupal\elasticsearch_connector\EntityCode
public function id() {
return isset($this->index_id) ? $this->index_id : NULL;
}