You are here

public function GridStackListBuilder::__construct in GridStack 8

Constructs a new GridStackListBuilder object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.

\Drupal\gridstack\GridStackManagerInterface $manager: The gridstack manager.

Overrides DraggableListBuilder::__construct

File

modules/gridstack_ui/src/Controller/GridStackListBuilder.php, line 39

Class

GridStackListBuilder
Provides a listing of GridStack optionsets.

Namespace

Drupal\gridstack_ui\Controller

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, GridStackManagerInterface $manager) {
  parent::__construct($entity_type, $storage);
  $this->manager = $manager;
}