public function GridStackAdmin::__construct in GridStack 8
Same name and namespace in other branches
- 8.2 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 41
Class
- GridStackAdmin
- Provides resusable admin functions or form elements.
Namespace
Drupal\gridstack\FormCode
public function __construct(BlazyAdminInterface $blazy_admin, GridStackManagerInterface $manager) {
$this->blazyAdmin = $blazy_admin;
$this->manager = $manager;
}