WSServerInterface.php in Web Service Data 2.0.x
Same filename and directory in other branches
Namespace
Drupal\wsdata\EntityFile
src/Entity/WSServerInterface.phpView source
<?php
namespace Drupal\wsdata\Entity;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface for defining Web Service Server entities.
*/
interface WSServerInterface extends ConfigEntityInterface {
/**
* Set the endpoint.
*/
public function setEndpoint($endpoint);
/**
* Get the endpoint.
*/
public function getEndpoint();
/**
* Disabled the wsserver.
*/
public function disable($degraded = FALSE);
/**
* Enable the wsserver.
*/
public function enable($degraded = FALSE);
/**
* Check if wsserver is disabled.
*/
public function isDisabled();
/**
* Cause the WSServer to become degraded.
*/
public function getDegraded();
/**
* Return types of methods supported by the connector.
*/
public function getMethods();
/**
* Return the default method if called.
*/
public function getDefaultMethod();
}
Interfaces
Name | Description |
---|---|
WSServerInterface | Provides an interface for defining Web Service Server entities. |