You are here

public function KanbanColumn::__construct in Content Planner 8

Constructor.

Parameters

string $workflow_id: The workflow ID.

string $state_id: The state ID.

array $state_info: The state info.

array $entities: An array with the entities.

\Drupal\content_kanban\EntityTypeConfig[] $entity_type_configs: An array with the entity type configs objects.

File

modules/content_kanban/src/Component/KanbanColumn.php, line 59

Class

KanbanColumn
Class KanbanColumn.

Namespace

Drupal\content_kanban\Component

Code

public function __construct($workflow_id, $state_id, array $state_info, array $entities, array $entity_type_configs) {
  $this->workflowID = $workflow_id;
  $this->stateID = $state_id;
  $this->stateInfo = $state_info;
  $this->entities = $entities;
  $this->entityTypeConfigs = $entity_type_configs;
}