You are here

public function GridStackAdmin::__construct in GridStack 8.2

Same name and namespace in other branches
  1. 8 src/Form/GridStackAdmin.php \Drupal\gridstack\Form\GridStackAdmin::__construct()

Constructs a GridStackAdmin object.

Parameters

\Drupal\blazy\Form\BlazyAdminInterface $blazy_admin: The blazy admin service.

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

File

src/Form/GridStackAdmin.php, line 48

Class

GridStackAdmin
Provides reusable admin functions or form elements.

Namespace

Drupal\gridstack\Form

Code

public function __construct(BlazyAdminInterface $blazy_admin, GridStackManagerInterface $manager) {
  $this->blazyAdmin = $blazy_admin;
  $this->manager = $manager;
}