You are here

public function RestfulPluginBase::setPlugin in RESTful 7

Sets information about the restful plugin.

Parameters

array $plugin: The plugin definition.

Overrides RestfulPluginInterface::setPlugin

2 calls to RestfulPluginBase::setPlugin()
RestfulAuthenticationBase::__construct in plugins/authentication/RestfulAuthenticationBase.php
Constructor.
RestfulFormatterBase::__construct in plugins/formatter/RestfulFormatterBase.php
Generic constructor.

File

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

Class

RestfulPluginBase
@file Contains \RestfulPluginBase.

Code

public function setPlugin($plugin) {
  $this->plugin = $plugin;
}