ReplicationSettings.php in Replication 8.2
Same filename and directory in other branches
Namespace
Drupal\replication\EntityFile
src/Entity/ReplicationSettings.phpView source
<?php
namespace Drupal\replication\Entity;
use Drupal\Core\Config\Entity\ConfigEntityBase;
use Drupal\replication\Entity\ReplicationSettingsInterface;
/**
* Defines the replication settings entity.
*
* The replication settings are attached to a Workspace to define how that
* Workspace should be replicated.
*
* @ConfigEntityType(
* id = "replication_settings",
* label = @Translation("Replication settings"),
* config_prefix = "replication_settings",
* entity_keys = {
* "id" = "id",
* "label" = "label"
* }
* )
*/
class ReplicationSettings extends ConfigEntityBase implements ReplicationSettingsInterface {
/**
* An identifier for these replication settings.
*
* @var string
*/
protected $id;
/**
* The human readable name for these replication settings.
*
* @var string
*/
protected $label;
/**
* The plugin ID of a replication filter.
*
* @var string
*/
protected $filter_id;
/**
* The replication filter parameters.
*
* @var array
*/
protected $parameters;
/**
* {@inheritdoc}
*/
public function getFilterId() {
return $this->filter_id;
}
/**
* {@inheritdoc}
*/
public function getParameters() {
return $this->parameters;
}
}
Classes
Name | Description |
---|---|
ReplicationSettings | Defines the replication settings entity. |