public function CommandHelper::getIndexCount in Search API 8
Returns the total number of search indexes.
Return value
int The number of search indexes on this site.
2 calls to CommandHelper::getIndexCount()
- CommandHelper::disableIndexCommand in src/
Utility/ CommandHelper.php - Disables one or more enabled search indexes.
- CommandHelper::enableIndexCommand in src/
Utility/ CommandHelper.php - Enables one or more disabled search indexes.
File
- src/
Utility/ CommandHelper.php, line 685
Class
- CommandHelper
- Provides functionality to be used by CLI tools.
Namespace
Drupal\search_api\UtilityCode
public function getIndexCount() {
return count($this
->loadIndexes());
}