public function DataProviderInterface::getCacheFragments in RESTful 7.2
Gets the entity context.
Parameters
mixed $identifier: The ID.
3 methods override DataProviderInterface::getCacheFragments()
- CacheDecoratedDataProvider::getCacheFragments in src/
Plugin/ resource/ DataProvider/ CacheDecoratedDataProvider.php - Gets the entity context.
- DataProvider::getCacheFragments in src/
Plugin/ resource/ DataProvider/ DataProvider.php - Gets the entity context.
- DataProviderDecorator::getCacheFragments in src/
Plugin/ resource/ DataProvider/ DataProviderDecorator.php - Gets the entity context.
File
- src/
Plugin/ resource/ DataProvider/ DataProviderInterface.php, line 139 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderInterface.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function getCacheFragments($identifier);