public function AliasStorageHelper::countAll in Pathauto 8
Returns the total count of the url aliases.
Return value
int Total number of aliases.
Overrides AliasStorageHelperInterface::countAll
File
- src/
AliasStorageHelper.php, line 232
Class
- AliasStorageHelper
- Provides helper methods for accessing alias storage.
Namespace
Drupal\pathautoCode
public function countAll() {
return $this->entityTypeManager
->getStorage('path_alias')
->getQuery()
->count()
->execute();
}