You are here

public function WSEncoderBase::isCacheable in Web Service Data 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/WSEncoderBase.php \Drupal\wsdata\Plugin\WSEncoderBase::isCacheable()

Returns whether or not the result on the encoder are cacheable.

File

src/Plugin/WSEncoderBase.php, line 20

Class

WSEncoderBase
Base class for Web Service Encoder plugins.

Namespace

Drupal\wsdata\Plugin

Code

public function isCacheable() {
  return TRUE;
}