public function WSCall::getOptionsForm in Web Service Data 2.0.x
Same name and namespace in other branches
- 8 src/Entity/WSCall.php \Drupal\wsdata\Entity\WSCall::getOptionsForm()
Get the forms provided by the wsserver for the wscall.
Overrides WSCallInterface::getOptionsForm
File
- src/
Entity/ WSCall.php, line 276
Class
- WSCall
- Defines the Web Service Call entity.
Namespace
Drupal\wsdata\EntityCode
public function getOptionsForm($wsserver = NULL, $options = []) {
if (isset($wsserver)) {
$wsserverInst = \Drupal::service('entity_type.manager')
->getStorage('wsserver')
->load($wsserver);
return $wsserverInst->wsconnectorInst
->getOptionsForm($options);
}
if (isset($this->wsserverInst->wsconnectorInst)) {
return $this->wsserverInst->wsconnectorInst
->getOptionsForm($options);
}
}