You are here

public function DataProvider::setRange in RESTful 7.2

Sets the range.

Parameters

int $range: The range

Overrides DataProviderInterface::setRange

File

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

Class

DataProvider

Namespace

Drupal\restful\Plugin\resource\DataProvider

Code

public function setRange($range) {
  $this->range = $range;
}