CountableResourceType.php
Same filename in other branches
- 9 core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceType.php
- 8.9.x core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceType.php
- 11.x core/modules/jsonapi/tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceType.php
Namespace
Drupal\jsonapi_test_collection_count\ResourceTypeFile
-
core/
modules/ jsonapi/ tests/ modules/ jsonapi_test_collection_count/ src/ ResourceType/ CountableResourceType.php
View source
<?php
namespace Drupal\jsonapi_test_collection_count\ResourceType;
use Drupal\jsonapi\ResourceType\ResourceType;
/**
* Subclass with overridden ::includeCount() for testing purposes.
*/
class CountableResourceType extends ResourceType {
/**
* {@inheritdoc}
*/
public function includeCount() {
return TRUE;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
CountableResourceType | Subclass with overridden ::includeCount() for testing purposes. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.