public function UnsavedIndexConfiguration::hasValidServer in Search API 8
Determines whether this index is lying on a valid server.
Return value
bool TRUE if the index's server is set and valid, otherwise FALSE.
Overrides IndexInterface::hasValidServer
File
- src/
UnsavedIndexConfiguration.php, line 329
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function hasValidServer() {
return $this->entity
->hasValidServer();
}