public function CrudInterface::count in RESTful 7.2
Counts the total results for the index call.
Return value
int The total number of results for the index call.
8 methods override CrudInterface::count()
- CacheDecoratedDataProvider::count in src/
Plugin/ resource/ DataProvider/ CacheDecoratedDataProvider.php - Counts the total results for the index call.
- DataProviderDbQuery::count in src/
Plugin/ resource/ DataProvider/ DataProviderDbQuery.php - Counts the total results for the index call.
- DataProviderDecorator::count in src/
Plugin/ resource/ DataProvider/ DataProviderDecorator.php - Counts the total results for the index call.
- DataProviderEntity::count in src/
Plugin/ resource/ DataProvider/ DataProviderEntity.php - Counts the total results for the index call.
- DataProviderNull::count in src/
Plugin/ resource/ DataProvider/ DataProviderNull.php - Counts the total results for the index call.
File
- src/
Plugin/ resource/ CrudInterface.php, line 26 - Contains \Drupal\restful\Resource\CrudInterface.
Class
Namespace
Drupal\restful\Plugin\resourceCode
public function count();