You are here

public function RestfulDataProviderVariable::replace in RESTful 7

Alias for $this->variableSet().

Parameters

string $name: The name of the variable to set a value for.

File

plugins/restful/RestfulDataProviderVariable.php, line 157
Contains \RestfulDataProviderDbQuery

Class

RestfulDataProviderVariable
@file Contains \RestfulDataProviderDbQuery

Code

public function replace($name) {
  return $this
    ->variableSet($name, TRUE);
}