WSFieldConfig.php in Web Service Data 2.0.x
Same filename and directory in other branches
Namespace
Drupal\wsdata_field\EntityFile
modules/wsdata_field/src/Entity/WSFieldConfig.phpView source
<?php
namespace Drupal\wsdata_field\Entity;
use Drupal\Core\Config\Entity\ConfigEntityBase;
/**
* Defines the Web Service Call entity.
*
* @ConfigEntityType(
* id = "wsfield_config",
* label = @Translation("wsfield configurations"),
* handlers = {
* "form" = {
* "add" = "Drupal\wsdata_field\Form\WSFieldConfigForm",
* "edit" = "Drupal\wsdata_field\Form\WSFieldConfigForm",
* },
* },
* config_prefix = "wsfield_config",
* admin_permission = "administer site configuration",
* entity_keys = {
* "id" = "id",
* "uuid" = "uuid"
* },
* config_export = {
* "id",
* "wscall",
* "label",
* "replacements",
* "returnToken",
* "data",
* "languageHandling",
* }
* )
*/
class WSFieldConfig extends ConfigEntityBase {
/**
* The Web Service Call ID.
*
* @var string
*/
protected $id;
/**
* Webservice field configurations.
*
* @var string
*/
public $wscall;
public $replacements;
public $returnToken;
public $data;
public $languageHandling;
}
Classes
Name | Description |
---|---|
WSFieldConfig | Defines the Web Service Call entity. |