You are here

public function GridStackInterface::getJson in GridStack 8

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 GridStackInterface::getJson()
GridStack::getJson in src/Entity/GridStack.php
Returns the GridStack json suitable for HTML data-attribute.

File

src/Entity/GridStackInterface.php, line 106

Class

GridStackInterface
Provides an interface defining GridStack entity.

Namespace

Drupal\gridstack\Entity

Code

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