public function EntityTypeConfig::__construct in Content Planner 8
EntityTypeConfig constructor.
Parameters
string $entityType: The entity type.
string $bundle: The bundle of the entity type.
string $label: The label.
string $color: The color.
File
- modules/
content_kanban/ src/ EntityTypeConfig.php, line 50
Class
- EntityTypeConfig
- Class EntityTypeConfig.
Namespace
Drupal\content_kanbanCode
public function __construct($entityType, $bundle, $label, $color) {
$this->entityType = $entityType;
$this->id = $bundle;
$this->label = $label;
$this->color = $color;
}