You are here

public function CacheDecoratedDataProvider::getCacheFragments in RESTful 7.2

Gets the entity context.

Parameters

mixed $identifier: The ID.

Overrides DataProviderInterface::getCacheFragments

3 calls to CacheDecoratedDataProvider::getCacheFragments()
CacheDecoratedDataProvider::remove in src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php
Delete operation.
CacheDecoratedDataProvider::update in src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php
Update operation.
CacheDecoratedDataProvider::view in src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php
Read operation.

File

src/Plugin/resource/DataProvider/CacheDecoratedDataProvider.php, line 146
Contains \Drupal\restful\Plugin\resource\DataProvider\CacheDecoratedDataProvider.

Class

CacheDecoratedDataProvider
Class CacheDecoratedDataProvider.

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function getCacheFragments($identifier) {
  return $this->subject
    ->getCacheFragments($identifier);
}