WorkspaceType.php in Multiversion 8
Namespace
Drupal\multiversion\EntityFile
src/Entity/WorkspaceType.phpView source
<?php
namespace Drupal\multiversion\Entity;
use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
/**
* Defines the Workspace type entity.
*
* @ConfigEntityType(
* id = "workspace_type",
* label = @Translation("Workspace type"),
* config_prefix = "type",
* bundle_of = "workspace",
* admin_permission = "administer site configuration",
* entity_keys = {
* "id" = "id",
* "label" = "label",
* "uuid" = "uuid"
* },
* config_export = {
* "id",
* "label",
* }
* )
*/
class WorkspaceType extends ConfigEntityBundleBase implements WorkspaceTypeInterface {
/**
* The Workspace type ID.
*
* @var string
*/
protected $id;
/**
* The Workspace type label.
*
* @var string
*/
protected $label;
}
Classes
Name | Description |
---|---|
WorkspaceType | Defines the Workspace type entity. |