public static function GridStack::htmlSettings in GridStack 8
Returns HTML or layout related settings, none of JS to shutup notices.
4 calls to GridStack::htmlSettings()
- GridStackManager::preRenderGridStack in src/
GridStackManager.php - GridStackManagerTest::testBuild in tests/
src/ Kernel/ GridStackManagerTest.php - Tests for GridStack build.
- GridStackUnitTest::testGridStackEntity in tests/
src/ Unit/ GridStackUnitTest.php - Tests for gridstack entity methods.
- template_preprocess_gridstack in templates/
gridstack.theme.inc - Prepares variables for gridstack.html.twig templates.
File
- src/
Entity/ GridStack.php, line 441
Class
- GridStack
- Defines the GridStack configuration entity.
Namespace
Drupal\gridstack\EntityCode
public static function htmlSettings() {
return [
'_admin' => FALSE,
'background' => TRUE,
'id' => '',
'lightbox' => '',
'media_switch' => '',
'nested' => FALSE,
'optionset' => 'default',
'root' => TRUE,
'use_framework' => FALSE,
'skin' => '',
];
}