You are here

public function GridStackInterface::setOption in GridStack 8

Sets the value of a gridstack option.

Parameters

string $name: The option name: settings, icon, use_framework, breakpoints.

string $value: The option value.

Return value

$this The class is being called.

1 method overrides GridStackInterface::setOption()
GridStack::setOption in src/Entity/GridStack.php
Sets the value of a gridstack option.

File

src/Entity/GridStackInterface.php, line 47

Class

GridStackInterface
Provides an interface defining GridStack entity.

Namespace

Drupal\gridstack\Entity

Code

public function setOption($name, $value);