You are here

public function ResourceTypeRepositoryInterface::all in JSON:API 8.2

Same name and namespace in other branches
  1. 8 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 22

Class

ResourceTypeRepositoryInterface
Provides a repository of all JSON:API resource types.

Namespace

Drupal\jsonapi\ResourceType

Code

public function all();