public function GridStackBaseInterface::setOption in GridStack 8.2
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 GridStackBaseInterface::setOption()
- GridStackBase::setOption in src/
Entity/ GridStackBase.php - Sets the value of a gridstack option.
File
- src/
Entity/ GridStackBaseInterface.php, line 47
Class
- GridStackBaseInterface
- Provides a base interface defining GridStack entity.
Namespace
Drupal\gridstack\EntityCode
public function setOption($name, $value);