You are here

public function RestfulPluginBase::setPluginKey in RESTful 7

Gets information about the restful plugin key.

Parameters

string $key: The name of the key to return.

mixed $value: The value to set.

Overrides RestfulPluginInterface::setPluginKey

2 calls to RestfulPluginBase::setPluginKey()
RestfulBase::processDataProviderOptions in plugins/restful/RestfulBase.php
Process plugin options by validation keys exists, and set default values.
RestfulFilesUpload::__construct in plugins/restful/RestfulFilesUpload.php
Overrides \RestfulEntityBase::__construct()

File

includes/RestfulPluginBase.php, line 37
Contains \RestfulPluginBase.

Class

RestfulPluginBase
@file Contains \RestfulPluginBase.

Code

public function setPluginKey($key, $value) {
  $this->plugin[$key] = $value;
}