You are here

public function GridStackBaseInterface::getJson in GridStack 8.2

Returns the GridStack json suitable for HTML data-attribute.

Parameters

string $group: The option group can be settings or grids.

Return value

string The output of the GridStack json.

1 method overrides GridStackBaseInterface::getJson()
GridStackBase::getJson in src/Entity/GridStackBase.php
Returns the GridStack json suitable for HTML data-attribute.

File

src/Entity/GridStackBaseInterface.php, line 58

Class

GridStackBaseInterface
Provides a base interface defining GridStack entity.

Namespace

Drupal\gridstack\Entity

Code

public function getJson($group = 'settings');