class ServicesClientPlugin in Services Client 7
Same name and namespace in other branches
- 7.2 include/plugin.inc \ServicesClientPlugin
Base plugin class
Hierarchy
- class \ServicesClientPlugin
Expanded class hierarchy of ServicesClientPlugin
File
- include/
plugin.inc, line 12 - Base plugin definitions. All other plugins should be extended from this set of plugins.
View source
class ServicesClientPlugin {
/**
* Connection hook definition
*/
protected $hook;
/**
* Plugin specific configuration
*
* @var array
*/
protected $config;
public function __construct($hook, $config) {
// Store configuration and connection definition
$this->hook = $hook;
$this->config = $config;
}
/**
* Configuration form options
*/
public function configForm(&$form, &$form_state) {
$form['markup'] = array(
'#type' => 'item',
'#markup' => t("This plugin doesn't provide any configuration options."),
);
}
public function configFormValidate(&$form, &$form_state) {
}
public function configFormSubmit(&$form, &$form_state) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServicesClientPlugin:: |
protected | property | Plugin specific configuration | |
ServicesClientPlugin:: |
protected | property | Connection hook definition | |
ServicesClientPlugin:: |
public | function | Configuration form options | 5 |
ServicesClientPlugin:: |
public | function | 5 | |
ServicesClientPlugin:: |
public | function | ||
ServicesClientPlugin:: |
public | function |