public function IndexInterface::getServerId in Search API 8
Retrieves the ID of the server the index is attached to.
Return value
string|null The index's server's ID, or NULL if the index doesn't have a server.
2 methods override IndexInterface::getServerId()
- Index::getServerId in src/
Entity/ Index.php - Retrieves the ID of the server the index is attached to.
- UnsavedIndexConfiguration::getServerId in src/
UnsavedIndexConfiguration.php - Retrieves the ID of the server the index is attached to.
File
- src/
IndexInterface.php, line 259
Class
- IndexInterface
- Defines the interface for index entities.
Namespace
Drupal\search_apiCode
public function getServerId();