public function ResourceTypeRepositoryInterface::all in JSON:API 8
Same name and namespace in other branches
- 8.2 src/ResourceType/ResourceTypeRepositoryInterface.php \Drupal\jsonapi\ResourceType\ResourceTypeRepositoryInterface::all()
Gets all JSON API resource types.
Return value
\Drupal\jsonapi\ResourceType\ResourceType[] The set of all JSON API resource types in this Drupal instance.
1 method overrides ResourceTypeRepositoryInterface::all()
- ResourceTypeRepository::all in src/
ResourceType/ ResourceTypeRepository.php - Gets all JSON API resource types.
File
- src/
ResourceType/ ResourceTypeRepositoryInterface.php, line 18
Class
- ResourceTypeRepositoryInterface
- Provides a repository of all JSON API resource types.
Namespace
Drupal\jsonapi\ResourceTypeCode
public function all();