function ResourceTypeRepositoryInterface::all

Same name in other branches
  1. 9 core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php \Drupal\jsonapi\ResourceType\ResourceTypeRepositoryInterface::all()
  2. 10 core/modules/jsonapi/src/ResourceType/ResourceTypeRepositoryInterface.php \Drupal\jsonapi\ResourceType\ResourceTypeRepositoryInterface::all()
  3. 11.x core/modules/jsonapi/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 core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php
Gets all JSON:API resource types.

File

core/modules/jsonapi/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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.