You are here

protected function ServicesClientMappingPlugin::getPlugin in Services Client 7.2

2 calls to ServicesClientMappingPlugin::getPlugin()
ServicesClientMappingPlugin::configForm in include/mapping.inc
Configuration form options
ServicesClientMappingPlugin::getPluginInstance in include/mapping.inc

File

include/mapping.inc, line 134

Class

ServicesClientMappingPlugin
Mapping plugin wrapper which represents mapping row.

Code

protected function getPlugin($name, $config) {
  $reflection = new ReflectionClass($name);
  return $reflection
    ->newInstanceArgs(array(
    $this->event,
    $config,
  ));
}