public function ConfigurableResourceType::includeCount in JSON:API Extras 8
Same name and namespace in other branches
- 8.3 src/ResourceType/ConfigurableResourceType.php \Drupal\jsonapi_extras\ResourceType\ConfigurableResourceType::includeCount()
- 8.2 src/ResourceType/ConfigurableResourceType.php \Drupal\jsonapi_extras\ResourceType\ConfigurableResourceType::includeCount()
Determine whether to include a collection count.
Return value
bool Whether to include a collection count.
Overrides ResourceType::includeCount
File
- src/
ResourceType/ ConfigurableResourceType.php, line 108
Class
- ConfigurableResourceType
- Defines a configurable resource type.
Namespace
Drupal\jsonapi_extras\ResourceTypeCode
public function includeCount() {
return $this->configFactory
->get('jsonapi_extras.settings')
->get('include_count');
}